Commit graph

43198 commits

Author SHA1 Message Date
Antoine Pitrou
779a5b0b3a Always print out the traceback when a test "crashed" 2011-03-21 19:55:16 +01:00
Antoine Pitrou
59cc6847a9 Try to make test_import a bit more robust 2011-03-21 19:05:18 +01:00
Antoine Pitrou
46719af05a Try to make test_import a bit more robust 2011-03-21 19:05:02 +01:00
Antoine Pitrou
732110ab39 Relax timing check (seen a buildbot failure on this) 2011-03-21 18:43:40 +01:00
Antoine Pitrou
60bf7e9e4d Relax timing check (seen a buildbot failure on this) 2011-03-21 18:43:01 +01:00
Reid Kleckner
91156ff3f1 Fix timeout error message on windows to not be in milliseconds. 2011-03-21 10:06:10 -07:00
Antoine Pitrou
0fd59acc70 Issue #11621: fix bootstrap issue with getopt/gettext (following d3e46930ffe9) 2011-03-21 16:04:06 +01:00
Kurt B. Kaiser
75fc566d0f <Home> toggle non-functional when NumLock set
on Windows.  Issue3851.
2011-03-21 02:13:42 -04:00
Victor Stinner
451385d8f8 Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int
(length bigger than 2^31-1 bytes).
2011-03-21 03:22:50 +01:00
Éric Araujo
50dc1a23d8 Branch merge 2011-03-21 03:17:12 +01:00
Victor Stinner
f1a9d82e35 merge 3.2 2011-03-21 02:53:04 +01:00
Victor Stinner
56f9a0221b merge 3.1 2011-03-21 02:51:38 +01:00
Victor Stinner
628225c0d1 Issue #5537: Fix time2isoz() and time2netscape() functions of httplib.cookiejar
for expiration year greater than 2038 on 32-bit systems.
2011-03-21 02:38:51 +01:00
Victor Stinner
ee525de6a9 merge 2011-03-21 02:12:09 +01:00
Victor Stinner
13ed2ea7a2 Issue #10864 has been fixed: remove the workaround 2011-03-21 02:11:01 +01:00
Antoine Pitrou
25871dac00 Merge 2011-03-21 00:28:52 +01:00
Antoine Pitrou
03637052ec Try to strengthen test_httpservers (issue #11617) 2011-03-21 00:27:45 +01:00
Antoine Pitrou
cb342182ee Try to strengthen test_httpservers (issue #11617) 2011-03-21 00:26:51 +01:00
Éric Araujo
eda5583bdc Mark getopt error messages as localizable (fixes #11371).
Patch by Filip Gruszczyński.
2011-03-21 00:09:07 +01:00
Antoine Pitrou
6d58d64919 Issue #11127: Raise a TypeError when trying to pickle a socket object. 2011-03-20 23:56:36 +01:00
Victor Stinner
b938bcd211 (merge) Issue #11395: io.FileIO().write() clamps the data length to 32,767
bytes on Windows if the file is a TTY to workaround a Windows bug. The Windows
console returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).
2011-03-20 23:37:55 +01:00
Victor Stinner
e0daff1c61 Issue #11395: io.FileIO().write() clamps the data length to 32,767 bytes on
Windows if the file is a TTY to workaround a Windows bug. The Windows console
returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).
2011-03-20 23:36:35 +01:00
Victor Stinner
6ae1e7f04e Issue #3080: imp.load_module() accepts None for the module path
imp.find_module() returns None as module path for builtin and frozen builtins.
2011-03-20 22:37:17 +01:00
Éric Araujo
6a1454f3a4 Use proper gettext plural forms in optparse (closes #4391).
Original patch by Dwayne Bailey.
2011-03-20 19:59:25 +01:00
Antoine Pitrou
ec60e31bad Merge 2011-03-20 17:42:55 +01:00
Antoine Pitrou
7903cb727e Merge 2011-03-20 17:36:26 +01:00
Antoine Pitrou
8189ab85e3 Call reap_children() where appropriate 2011-03-20 17:35:32 +01:00
Antoine Pitrou
68c9592d33 Call reap_children() at the end of test_posix 2011-03-20 17:33:57 +01:00
Ross Lagerwall
dedf6cf387 Issue #11615: Fix sporadic buildbot failures related to #10812. 2011-03-20 18:27:05 +02:00
Reid Kleckner
9a67e6c743 Fix the Windows timeout code. 2011-03-20 08:28:07 -07:00
Ezio Melotti
45763d0d12 Merge with 3.2. 2011-03-20 15:34:28 +02:00
Ezio Melotti
60c3c9f918 Save a copy of sys.warnoptions in test_program. 2011-03-20 15:31:26 +02:00
Ezio Melotti
0123e055fa Add a check for sys.warnoptions in regrtest. 2011-03-20 15:09:26 +02:00
Senthil Kumaran
bec7886e3f Merge from 3.1 2011-03-20 10:45:10 +08:00
Senthil Kumaran
1b407fe658 Issue #11567 - Let's have the DOCTYPE as HTML instead of XHTML. 2011-03-20 10:44:30 +08:00
Senthil Kumaran
a7f43cc09c branch merge 3.2 2011-03-20 05:33:09 +08:00
Senthil Kumaran
acbaa923b8 Call unfakehttp in order to close connection while opening the connection through a fakehttp object.
Address issue11609 - urllib related buildbots failure.
2011-03-20 05:30:16 +08:00
Antoine Pitrou
7b98d02302 Issue #11459: A bufsize value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou
877766dee8 Issue #11459: A bufsize value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Senthil Kumaran
d91ffcafcb Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil. 2011-03-19 17:25:27 +08:00
Éric Araujo
374274db7f Fix the total_ordering decorator to handle cross-type comparisons
that could lead to infinite recursion (closes #10042).
2011-03-19 04:29:36 +01:00
Michael Foord
42ec7cb105 Issue #10979. unittest stdout buffering now works with class and module setup and teardown. 2011-03-17 13:44:18 -04:00
Michael Foord
8faa20751d Issue #10979. unittest stdout buffering now works for class and module fixtures. 2011-03-17 12:48:56 -04:00
Senthil Kumaran
9f9193ec37 Error message in http.server code. Missed to update in 3.1 branch initially. 2011-03-17 17:01:45 +08:00
Senthil Kumaran
b253c9f66d Fix issue11567: http.server DEFAULT_ERROR_MESSAGE format. Patch by Gennadiy Zlobin. 2011-03-17 16:43:22 +08:00
Senthil Kumaran
5a9a5080cf branch merge. 2011-03-17 14:43:21 +08:00
Senthil Kumaran
2e617307bc merge from 2.6 branch 2011-03-17 14:24:35 +08:00
Senthil Kumaran
dfd1579e54 merge from 2.5 branch. 2011-03-17 14:23:24 +08:00
Senthil Kumaran
3853586e0c Fix issue11442 - Add a charset parameter to the Content-type to avoid XSS attacks.
Patch by Tom N. (Backported from py3k codeline).
2011-03-17 12:34:18 +08:00
Kurt B. Kaiser
020d3d9856 <Home> toggle non-functional when NumLock set.
Issue3851
2011-03-17 00:05:38 -04:00