Commit graph

17501 commits

Author SHA1 Message Date
Éric Araujo
eda5583bdc Mark getopt error messages as localizable (fixes #11371).
Patch by Filip Gruszczyński.
2011-03-21 00:09:07 +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
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
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
Nick Coghlan
b52c0be4d2 Merge from remote 2011-03-16 22:09:10 -04:00
Nick Coghlan
b3c728fd89 Close #11577: Improve binhex test coverage and fix ResourceWarning 2011-03-16 21:26:40 -04:00
R David Murray
a215023b78 #11243: tests and fixes for handling of 'dirty data' in additional methods 2011-03-16 21:11:23 -04:00
R David Murray
4e4326829f Merge #11401 fix from 3.1. 2011-03-16 18:27:34 -04:00
R David Murray
de91276a5c #11401: handle headers with no value. 2011-03-16 18:26:23 -04:00
R David Murray
a88da67bcb #11578: add unit tests for timeit module.
Patch by Michael Henry.
2011-03-16 17:32:27 -04:00
Michael Foord
07926f024a Closes issue 11503. Improves test coverage of posixpath. 2011-03-16 17:19:16 -04:00
R David Murray
78099bb153 Merge #9298 fix. 2011-03-16 16:13:07 -04:00
R David Murray
6d94bd470e #9298: restore proper folding of base64 encoded bodies.
Patch by Yves Dorfsman.
2011-03-16 15:52:22 -04:00
Nick Coghlan
7462fa654b Backport improved test coverage for string.py 2011-03-16 14:30:45 -04:00
Nick Coghlan
8ed3cf3a4b Close #11560: Improve test coverage of shutil 2011-03-16 14:05:35 -04:00
Nick Coghlan
abf202d798 Close #11548: Correctly handle format argument in shutil.unpack_archive 2011-03-16 13:52:20 -04:00
Ronald Oussoren
f0edd1b86d Merge with 3.1 2011-03-16 09:43:06 -04:00
Ronald Oussoren
0b8753d24b Issue #11569: use absolute path to the sysctl command in multiprocessing to
ensure that it will be found regardless of the shell PATH. This ensures
that multiprocessing.cpu_count works on default installs of MacOSX.
2011-03-16 09:41:32 -04:00
Ezio Melotti
3b3499ba69 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
Ezio Melotti
13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
Jesus Cea
cee3655568 Close issue #8600: test_gdb failures because innocuous warnings 2011-03-16 01:33:16 +01:00
Michael Foord
dcebe0f2dc Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution 2011-03-15 19:20:44 -04:00
Raymond Hettinger
29dcaad6eb Issue 11510: Fix BUILD_SET optimizer bug. 2011-03-15 14:50:16 -07:00
Antoine Pitrou
126848a2d8 Fix whitespace in test_subprocess 2011-03-15 21:17:10 +01:00
Antoine Pitrou
e870623e96 Merge fix for issue #11501 2011-03-15 21:05:36 +01:00
Antoine Pitrou
2c50a09ac4 On behalf of Tarek: Issue #11501: disutils.archive_utils.make_zipfile no
longer fails if zlib is not installed. Instead, the zipfile.ZIP_STORED
compression is used to create the ZipFile. Patch by Natalia B. Bidart.
2011-03-15 21:02:59 +01:00
Gregory P. Smith
cdc4f963cc merge 3.2 heads 2011-03-15 15:52:09 -04:00
Gregory P. Smith
961e0e85c0 revert the test_main() change from 08daf3ef6509 so that regrtest continues to run this properly. 2011-03-15 15:43:39 -04:00
Gregory P. Smith
8f7724f9a4 merge d71476b9a55d from tip, use start_new_session instead of os.setsid. 2011-03-15 15:24:43 -04:00
Gregory P. Smith
e14e9c2218 Add unittests demonstrating issue #11432. 2011-03-15 14:55:17 -04:00
R David Murray
4a0b60c527 Merge #11555 as_string doc fix from 3.1. 2011-03-15 14:02:53 -04:00
R David Murray
7dedcb4644 #11555: update doc for 3.x change to as_string mangle_from default. 2011-03-15 14:01:18 -04:00