Commit graph

65413 commits

Author SHA1 Message Date
Ross Lagerwall
104c3f1020 Issue #10963: Ensure that subprocess.communicate() never raises EPIPE. 2011-04-05 15:24:34 +02:00
Steven Bethard
e3c11b44e3 Issue #9347: Fix formatting for tuples in argparse type= error messages. 2011-04-04 01:47:52 +02:00
R David Murray
824504dd7e Dummy merge from 2.6. 2011-03-31 11:48:31 -04:00
Raymond Hettinger
db9d64b367 Issue 11713: clarify docstring for collections.deque() 2011-03-29 17:28:25 -07:00
Guido van Rossum
b885a5bbc8 Merge cleanup. 2011-03-29 13:04:24 -07:00
Guido van Rossum
8c850bf819 Merge cleanup. 2011-03-29 13:03:10 -07:00
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
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
guido@google.com
92ecb8737b Adding .hgignore (copied from default branch). 2011-03-29 09:53:33 -07:00
Vinay Sajip
3c599bdbd1 Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX. 2011-03-29 01:21:48 +01:00
Vinay Sajip
f851fe9fc5 Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX. 2011-03-29 01:15:37 +01:00
Vinay Sajip
af1fee06c9 Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX. 2011-03-29 01:07:50 +01: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
Benjamin Peterson
41a9ec9003 let's keep parenthesis around sizeof 2011-03-28 17:25:15 -05:00
guido@google.com
db3080e68f Add CVE number to urllib/urllib2 news item. 2011-03-28 13:53:40 -07:00
guido@google.com
f1509306d2 Add tests for the urllib[2] vulnerability. Change to raise exceptions. 2011-03-28 13:47:01 -07:00
Ezio Melotti
d113512ed5 #10617: add class directives to collections ABCs. 2011-03-28 13:46:28 +03: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
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
Mark Dickinson
1829e8fc7c Move Misc/NEWS entry to correct section. 2011-03-27 15:32:05 +01: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
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
8c05568e06 revert unintended changes 2011-03-26 18:11:54 -05:00
Benjamin Peterson
e26f482742 fix missing variable declarations 2011-03-26 18:09:55 -05:00
Benjamin Peterson
de39047cc6 always check return value of PyObject_IsInstance for error 2011-03-26 18:04:09 -05:00
Benjamin Peterson
f21ad92351 check possible recursive _as_parameter_ to prevent segfault (closes #1838) 2011-03-26 17:56:28 -05:00
Antoine Pitrou
41347fe011 In the Windows clean script for buildbots, also clear the build dir
(so that stale test files, which can be very large, get wiped out)
2011-03-26 22:08:21 +01:00
Steven Bethard
5e0062d25a Issue #9343: Document that argparse parent parsers must be configured before their children. (Merge from 3.2.) 2011-03-26 21:50:38 +01:00
Steven Bethard
3f69a059b9 Issue #8982: Improve the documentation for the argparse Namespace object. (Merge from 3.2.) 2011-03-26 19:59:02 +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
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
d3cb2f6e2c Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects. 2011-03-26 10:02:37 +00:00
Éric Araujo
254d4b851d Tweaks to sys.flags description table.
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998.
2011-03-26 02:09:14 +01:00
Éric Araujo
10ab95a271 Remove untrue statement from tutorial 2011-03-26 01:26:08 +01:00
Éric Araujo
8bea9a5b13 Use universal construct os.path.expanduser('~') instead of os.environ['HOME'] 2011-03-26 01:24:47 +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
Benjamin Peterson
d480d93f61 merge heads 2011-03-25 16:58:31 -05:00
Benjamin Peterson
7859d4098c remove this dead subversion code 2011-03-25 16:57:30 -05:00
Kurt B. Kaiser
7548bce0ee <Home> toggle failing on Tk 8.5, causing IDLE exits. Issue 3851. 2011-03-25 17:48:27 -04:00
Ezio Melotti
4664563f34 #2650: Refactor re.escape and its tests. 2011-03-25 14:50:52 +02:00
Eli Bendersky
72de205895 Issue #11634: Remove misleading paragraph from a comment 2011-03-24 22:38:25 +02:00
guido@google.com
2bc23b8448 Add FTP to the allowed url schemes. Add Misc/NEWS. 2011-03-24 10:44:17 -07:00
guido@google.com
60a4a90c8d Issue 22663: fix redirect vulnerability in urllib/urllib2. 2011-03-24 08:07:45 -07:00
Éric Araujo
f079c9bfbf Fix obscure set crashers (#4420). Backport of d56b3cafb1e6, reviewed by Raymond. 2011-03-22 23:47:32 +01:00
Raymond Hettinger
1fd26525a4 Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents. 2011-03-22 17:51:57 -07:00
Raymond Hettinger
405a4717e1 Issue 10787: Document the probability density function for random.gammavariate. 2011-03-22 15:52:46 -07:00