Commit graph

24500 commits

Author SHA1 Message Date
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
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
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
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
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
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
874d59ee91 Issue #11144: Fix corner cases where float-to-int conversion unnecessarily returned a long. 2011-03-26 12:18:00 +00: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
Mark Dickinson
d3cb2f6e2c Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects. 2011-03-26 10:02:37 +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
9aa5a34b6b Issue #11666: Teach pydoc to display full help for named tuples 2011-03-25 16:00:13 -07:00
Mark Dickinson
f9e9a6f403 Issue #11673: Fix multiprocessing.[Raw]Array constructor to accept a size of type long. Thanks Robert Kern. 2011-03-25 22:01:06 +00: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
4664563f34 #2650: Refactor re.escape and its tests. 2011-03-25 14:50:52 +02: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