Commit graph

17722 commits

Author SHA1 Message Date
Benjamin Peterson
c01ffdf61e revert unintended changes 2011-03-26 18:11:54 -05:00
Benjamin Peterson
8d6c62dd89 check possible recursive _as_parameter_ to prevent segfault (closes #1838) 2011-03-26 17:56:28 -05: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
08ce60800e Issue #11635: Don't use polling in worker threads and processes launched by
concurrent.futures.
2011-03-26 19:33:44 +01:00
Antoine Pitrou
c13d454e84 Issue #11635: Don't use polling in worker threads and processes launched by
concurrent.futures.
2011-03-26 19:29:44 +01: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
Kurt B. Kaiser
4e4edf5e78 Merge from 3.2 2011-03-25 20:34:11 -04:00
Kurt B. Kaiser
e7665c4cf3 Merge from 3.1 2011-03-25 20:32:00 -04:00
Kurt B. Kaiser
946f17214c <Home> toggle failing on Tk 8.5, causing IDLE exits. Issue #4676 2011-03-25 20:29:13 -04: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
R David Murray
041015cc70 #11584: Since __getitem__ returns headers, make decode_header handle them.
Why I consider this a bug rather than an API change: the API change was
to Message, which didn't used to return Headers unless you added them
yourself.  Now it does (for 8bit binary header input), so decode_header
needs to be able to handle them.
2011-03-25 15:10:55 -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
ebbf1e67a8 #2650: Refactor re.escape to use enumerate(). 2011-03-25 14:19:30 +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
Kurt B. Kaiser
439dfffaf3 Merge 3.2 heads 2011-03-25 00:22:09 -04:00
Kurt B. Kaiser
e88893ccc6 Merge heads 2011-03-24 15:10:28 -04:00
Kurt B. Kaiser
85f3cb45c1 Merge 3.2 2011-03-24 15:03:14 -04: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
Kurt B. Kaiser
5cf7878fda Merge 3.1 2011-03-24 13:19:35 -04:00
Kurt B. Kaiser
73979c3149 Merge 3.2 2011-03-24 12:51:10 -04: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
R David Murray
c7d28be62f Merge #11606: improved body_encode algorithm, no longer produces overlong lines 2011-03-24 12:27:23 -04:00
R David Murray
b938c8c253 #11606: improved body_encode algorithm, no longer produces overlong lines
Algorithm and initial patch by Michael Henry.
2011-03-24 12:19:26 -04:00
Kurt B. Kaiser
f9439914c8 Merge 3.1 2011-03-24 12:03:36 -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