Commit graph

8280 commits

Author SHA1 Message Date
Martin v. Löwis
987403bf14 merge #11696 2011-03-27 21:07:13 +02:00
Martin v. Löwis
f8d887e0d3 Closes #11696: Fix ID generation in msilib.
Patch by Mark Mc Mahon.
2011-03-27 21:05:51 +02:00
Mark Dickinson
574980e946 Merge #9696 2011-03-27 16:30:50 +01:00
Mark Dickinson
79a9036d09 Merge #9696 2011-03-27 16:30:07 +01:00
Mark Dickinson
92b60d55d9 Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer. 2011-03-27 16:25:40 +01:00
Steven Bethard
4ad8f66559 Issue #9026: Fix order of argparse sub-commands in help messages. (Merged from 3.2.) 2011-03-27 14:04:03 +02:00
Steven Bethard
8a6a198abf Issue #9026: Fix order of argparse sub-commands in help messages. 2011-03-27 13:53:53 +02:00
Ross Lagerwall
4aeb542a72 Merge with 3.2 2011-03-26 21:22:09 +02:00
Ross Lagerwall
17ace7a07c Merge with 3.1 2011-03-26 21:21:46 +02:00
Ross Lagerwall
b8a5769a6d Issue #11659: Fix ResourceWarning in test_subprocess introduced by #11459.
Patch by Ben Hayden.
2011-03-26 21:19:57 +02:00
Antoine Pitrou
0a01b9f91b Merge from 3.2 2011-03-26 18:39:55 +01:00
Antoine Pitrou
d9faa201ce Read HTTP response inside transient_internet() 2011-03-26 18:38:06 +01:00
Antoine Pitrou
b651949f53 test_urllibnet: make it so that transient_internet() applies to the
whole HTTP exchange, not only the opening.
2011-03-26 18:36:42 +01:00
Steven Bethard
edbe4c5249 Issue #9348: Raise an early error if argparse nargs and metavar don't match. (Merge from 3.2.) 2011-03-26 17:35:11 +01:00
Steven Bethard
8d9a4628c3 Issue #9348: Raise an early error if argparse nargs and metavar don't match. 2011-03-26 17:33:56 +01:00
Steven Bethard
0331e906d6 Issue #11174: Add argparse.MetavarTypeHelpFormatter, which uses type names
for the names of optional and positional arguments in help messages.
2011-03-26 14:48:04 +01:00
Mark Dickinson
657bd0a25d Merge #11675 2011-03-26 10:22:56 +00:00
Mark Dickinson
633872e3fb Merge #11675 2011-03-26 10:21:20 +00:00
Mark Dickinson
89461ef8fc Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects. 2011-03-26 10:19:03 +00:00
Éric Araujo
b3a591bf06 Branch merge 2011-03-26 02:01:33 +01:00
Éric Araujo
be3bd57ba2 Remove traces of division_warning left over from Python 2 (#10998) 2011-03-26 01:55:15 +01:00
Raymond Hettinger
007bdbd7ab Issue #11666: Teach pydoc to display full help for named tuples 2011-03-25 14:16:13 -07:00
Raymond Hettinger
1103d05775 Issue #11666: Teach pydoc to display full help for named tuples 2011-03-25 14:15:24 -07:00
R David Murray
79fe2a3462 Merge #9557: eliminate 3 seconds of static overhead from test_mailbox. 2011-03-25 16:20:16 -04:00
R David Murray
66a4e12da4 Merge #9557: eliminate 3 seconds of static overhead from test_mailbox. 2011-03-25 16:16:54 -04:00
R David Murray
b9a428d57d #9557: eliminate 3 seconds of static overhead from test_mailbox.
This patch doesn't quite fix the 'run in a VM with Samba share'
timing problem, but it should at least make it better.
2011-03-25 16:03:47 -04:00
R David Murray
961355a56a Merge #11584: Since __getitem__ returns headers, make decode_header handle them. 2011-03-25 15:31:52 -04:00
Ezio Melotti
fd2c2a5271 #2650: Merge with 3.2. 2011-03-25 14:26:56 +02:00
Ezio Melotti
213eb96902 #2650: Merge with 3.1. 2011-03-25 14:25:36 +02:00
Ezio Melotti
7b9e97b487 #2650: Add tests with non-ascii chars for re.escape. 2011-03-25 14:09:33 +02:00
Ezio Melotti
d2114ebd97 #2650: Refactor the tests for re.escape. 2011-03-25 14:08:44 +02:00
Thomas Wouters
518b5aea1a Revert the Lib/test/test_bigmem.py changes from commit 17891566a478 (and a
few other assertEqual tests that snuck in), and expand the docstrings and
comments explaining why and how these tests are supposed to work.
2011-03-25 11:42:37 +01:00
R David Murray
576483085c #11093: make NOTTESTS empty by renaming confusingly named files in test dir.
Patch by Sandro Tosi.
2011-03-24 14:57:05 -04:00
R David Murray
b588f8dd9f #11031: Add --testdir to specify where to find tests
Patch by Sandro Tosi.  The main purpose of this option is to allow
an alternate set of tests files to be used when running tests
of the regrtest tool itself.
2011-03-24 14:42:58 -04:00
R David Murray
03504fc2fb #11030: make --coverdir work for relative directories again. 2011-03-24 14:35:30 -04:00
Raymond Hettinger
6712a3e14f Remove test_importable(). Couldn't see how to make this reliable across all platforms. 2011-03-24 10:51:06 -07:00
Raymond Hettinger
d4652fab51 Isolate the test_source() test in test_collections 2011-03-24 09:45:43 -07:00
R David Murray
73bd0448b9 Merge #11606: improved body_encode algorithm, no longer produces overlong lines 2011-03-24 12:28:39 -04:00
Victor Stinner
f09e652a0e Merge 3.2 2011-03-24 16:39:34 +01:00
Victor Stinner
900189b414 Merge 3.1 2011-03-24 16:39:07 +01:00
Victor Stinner
29943aa120 test_multiprocessing: use assertLess() to see the timeout on error 2011-03-24 16:24:07 +01:00
Antoine Pitrou
bace3b9ac6 Add tests for the atexit hook in concurrent.futures (part of #11635) 2011-03-24 15:48:26 +01:00
Antoine Pitrou
aebac0b55a Add tests for the atexit hook in concurrent.futures (part of #11635) 2011-03-24 15:47:39 +01:00
Raymond Hettinger
f6d3e8eaef Add tests for _source to importable and exec'able.
Move __name__ back out of the template; the responsibility
for setting __name__ lies with the caller (which knows
something about the new namespace), not with the class
definition (which doesn't know about the namespace it is
being built in).
2011-03-23 20:33:30 -07:00
Antoine Pitrou
f3c524d535 Issue #11653: fix -W with -j in regrtest. 2011-03-23 23:05:07 +01:00
Antoine Pitrou
293954dd76 Issue #11653: fix -W with -j in regrtest 2011-03-23 23:01:49 +01:00
Raymond Hettinger
41da10e62c Merge 2011-03-23 12:53:32 -07:00
Raymond Hettinger
2ebea41d31 Expose the namedtuple source with a _source attribute. 2011-03-23 12:52:23 -07:00
R David Murray
5839b9635c Merge #11590: fix quoprimime decode handling of empty strings and line endings. 2011-03-23 15:37:26 -04:00
Antoine Pitrou
6ab79d9d5b Allow "-j0" as an argument to regrtest, to automatically select an
appropriate number of parallel workers.
2011-03-23 20:17:45 +01:00