Commit Graph

17791 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
Guido van Rossum b885a5bbc8 Merge cleanup. 2011-03-29 13:04:24 -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
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
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
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 f21ad92351 check possible recursive _as_parameter_ to prevent segfault (closes #1838) 2011-03-26 17:56:28 -05: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
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
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
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 405a4717e1 Issue 10787: Document the probability density function for random.gammavariate. 2011-03-22 15:52:46 -07:00
Raymond Hettinger 911da47996 Issue #11628: cmp_to_key should use__slots__. 2011-03-22 13:20:59 -07:00
Éric Araujo 374274db7f Fix the total_ordering decorator to handle cross-type comparisons
that could lead to infinite recursion (closes #10042).
2011-03-19 04:29:36 +01:00
Michael Foord 8faa20751d Issue #10979. unittest stdout buffering now works for class and module fixtures. 2011-03-17 12:48:56 -04:00
Senthil Kumaran 5a9a5080cf branch merge. 2011-03-17 14:43:21 +08:00
Senthil Kumaran 2e617307bc merge from 2.6 branch 2011-03-17 14:24:35 +08:00
Senthil Kumaran dfd1579e54 merge from 2.5 branch. 2011-03-17 14:23:24 +08:00
Senthil Kumaran 3853586e0c Fix issue11442 - Add a charset parameter to the Content-type to avoid XSS attacks.
Patch by Tom N. (Backported from py3k codeline).
2011-03-17 12:34:18 +08:00
Kurt B. Kaiser 020d3d9856 <Home> toggle non-functional when NumLock set.
Issue3851
2011-03-17 00:05:38 -04:00
Michael Foord 4c9e91a092 Issue #10242: backport of more fixes to unittest.TestCase.assertItemsEqual 2011-03-16 20:34:53 -04:00
Ronald Oussoren 2ab5994dbe Issue #11569: use absolute path to the sysctl command in multiprocessing to
ensure that it will be found regardless of the shell PATH. This ensures
that multiprocessing.cpu_count works on default installs of MacOSX.

Patch by Steffen Daode Nurpmeso.
2011-03-16 09:47:15 -04:00
Ezio Melotti c2077b0d9b #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
Jesus Cea 6905de14fe Close issue #8600: test_gdb failures because innocuous warnings 2011-03-16 01:19:49 +01:00
Ezio Melotti 24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 18:55:01 +02:00
Ronald Oussoren 1aa999c49e Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified
IP addresses in the proxy exception list.
2011-03-14 18:53:59 -04:00
R David Murray b44e1841d5 Port #11488 patch from 3.1 (changeset f816841bab03) 2011-03-14 10:01:12 -04:00
R David Murray 8c76c53019 merge heads 2011-03-13 22:40:59 -04:00
R David Murray cdd5fc9013 #11490: EACCES can also mean command not found 2011-03-13 22:37:18 -04:00
Mark Dickinson 2c8c62e64d Issue 11131: Fix sign of zero result on plus and minus operations in ROUND_FLOOR rounding mode. 2011-03-12 11:05:32 +00:00
Vinay Sajip 3ae81137c8 Reverted bug fixes for #11444 (fc4d045e3170) and #11424 (b9d76846bb1c), which should not have been made in this branch. 2011-03-11 18:44:10 +00:00
Ned Deily 9d4836e731 Issue #5622: Fix curses.wrapper to raise correct exception if curses
initialization fails.
2011-03-09 02:31:55 -08:00
Vinay Sajip ee145ecc5f Issue #11444: Merge fix from 2.6. 2011-03-08 22:47:18 +00:00
Vinay Sajip f4d0af460a Issue #11444: Lock handlers while flushing/closing during shutdown. 2011-03-08 22:39:55 +00:00
Benjamin Peterson 1af19d1ffd transform izip_longest #11424 2011-03-07 22:50:37 -06:00