Commit Graph

17781 Commits

Author SHA1 Message Date
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
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
É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
Vinay Sajip 923e6d29e5 Whitespace normalization. 2011-03-07 18:20:27 +00:00
Vinay Sajip 44b740ff28 #Issue 11424: merged fix from 2.6. 2011-03-07 15:07:58 +00:00
Vinay Sajip 8dd2a40bc7 Issue #11424: Fix bug in determining child loggers. 2011-03-07 15:02:11 +00:00
Benjamin Peterson bf12cdc24a only do this sys.stderr replacing on CPython 2011-03-06 17:08:40 -06:00
Antoine Pitrou d6f3a3e3a8 Issue #11391: Writing to a mmap object created with
`mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a
TypeError.  Patch by Charles-François Natali.
2011-03-06 02:03:34 +01:00
Antoine Pitrou 414596ae8d Lib/email/test/data/msg_26.txt had its line endings wrong in the SVN repository.
(they were probably converted right in working copies through an SVN property)
2011-03-05 21:39:40 +01:00
Georg Brandl faa9ad2a46 Add updated .hgeol file and fix newlines in the 2.7 branch. 2011-03-05 15:06:13 +01:00
Georg Brandl 4db2c257d6 Add .hgeol file and fix newlines in the 2.5 branch. 2011-03-05 15:02:28 +01:00
Eli Bendersky 680e6eb54f Merged revisions 88735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88735 | eli.bendersky | 2011-03-04 06:55:25 +0200 (Fri, 04 Mar 2011) | 2 lines

  Issue #11386: Fixed the exception thrown by bytearray.pop() for empty bytearrays
........
2011-03-04 06:14:56 +00:00
R. David Murray 1a33790682 Merged revisions 88730 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88730 | r.david.murray | 2011-03-03 13:03:36 -0500 (Thu, 03 Mar 2011) | 2 lines

  #11306: Treat EROFS like EACCES when making a 'file is read-only' decision
........
2011-03-03 18:17:40 +00:00