Commit graph

43198 commits

Author SHA1 Message Date
Guido van Rossum
07ef62c47c Merge issue 11662 from 2.6. 2011-03-29 12:53:55 -07:00
Guido van Rossum
079381d236 Merge issue 11662 from 2.5. 2011-03-29 12:51:16 -07:00
guido@google.com
69cfcabae3 Merge. 2011-03-29 12:09:45 -07:00
guido@google.com
2008a8f8c0 Merge Issue 11662 from 3.2 branch. 2011-03-29 12:02:49 -07:00
guido@google.com
c768ff5d4f Merge Issue 11662 from 3.1 branch. 2011-03-29 11:51:26 -07:00
guido@google.com
a119df91f3 Issue 11662: Fix vulnerability in urllib/urllib2.
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -07:00
guido@google.com
b7ef35b582 Merge urllib/urllib2 security fix from 2.6 branch. 2011-03-29 11:14:01 -07:00
guido@google.com
9a9fdfad59 Merge urllib/urllib2 security fix from 2.5 branch. 2011-03-29 10:48:23 -07:00
Vinay Sajip
e6c1eb9267 Closes issue #11557: Added Natalia Bidart's patch to improve test coverage. 2011-03-29 17:20:34 +01:00
R David Murray
86cc82e36f Remove the 'strict' argument to Parser, deprecated since 2.4. 2011-03-29 11:32:35 -04:00
R David Murray
1ebdd714ac Add a __main__.py to test_email so it works with -m like it did before move. 2011-03-29 09:59:45 -04:00
Benjamin Peterson
1df78c8e6e merge 3.2 2011-03-28 17:42:35 -05:00
Benjamin Peterson
6a2638b163 Correct handling of functions with only kwarg args in getcallargs (closes #11256)
A patch from Daniel Urban.
2011-03-28 17:32:31 -05:00
Benjamin Peterson
77d466079a Correct handling of functions with only kwarg args in getcallargs (closes #11256)
A patch from Daniel Urban.
2011-03-28 17:32:31 -05:00
guido@google.com
f1509306d2 Add tests for the urllib[2] vulnerability. Change to raise exceptions. 2011-03-28 13:47:01 -07:00
Raymond Hettinger
5d44613e3b Add optional *func* argument to itertools.accumulate(). 2011-03-27 18:52:10 -07:00
Martin v. Löwis
af88d86699 merge #11696 2011-03-27 21:09:00 +02:00
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
Martin v. Löwis
7aea63ff65 Add missing file from #11696. 2011-03-27 21:01:03 +02:00
Martin v. Löwis
03f7e235c8 Closes #11696: Fix ID generation in msilib.
Patch by Mark Mc Mahon.
2011-03-27 20:58:52 +02:00
Mark Dickinson
ad64127878 merge 2011-03-27 16:39:53 +01:00
Ross Lagerwall
f382ab25ca Issue #11692: Remove unnecessary demo functions in subprocess module. 2011-03-27 17:34:22 +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
Mark Dickinson
d687be09b4 Issue #9696: Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer. 2011-03-27 16:15:24 +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
bc3b104e46 Issue #9026: Fix order of argparse sub-commands in help messages. (Merged from 3.2.) 2011-03-27 13:57:55 +02:00
Steven Bethard
8a6a198abf Issue #9026: Fix order of argparse sub-commands in help messages. 2011-03-27 13:53:53 +02:00
Martin v. Löwis
5df4762911 merge #7639 2011-03-27 10:15:57 +02:00
Martin v. Löwis
a6e0b4f2ed merge #7639 2011-03-27 10:14:57 +02:00
Martin v. Löwis
9bad3a99dd Fix short file name generation in bdist_msi.
Patch by Christoph Gohlke.
Closes #7639.
2011-03-27 10:12:07 +02:00
Martin v. Löwis
49b0ce06f0 Fix short file name generation in bdist_msi.
Patch by Christoph Gohlke.
Closes #7639.
2011-03-27 10:10:46 +02:00
Benjamin Peterson
eb2389be0e merge 3.2 2011-03-26 18:18:09 -05:00
Benjamin Peterson
1a07f07337 merge 3.1 2011-03-26 18:17:05 -05:00
Benjamin Peterson
c01ffdf61e revert unintended changes 2011-03-26 18:11:54 -05:00
Benjamin Peterson
8c05568e06 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
Benjamin Peterson
f21ad92351 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
539586296d Issue #9348: Raise an early error if argparse nargs and metavar don't match. (Merge from 3.2.) 2011-03-26 17:57:52 +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