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
Giampaolo Rodolà
d65224f339
Merged revisions 88722 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88722 | giampaolo.rodola | 2011-03-03 14:57:47 +0100 (gio, 03 mar 2011) | 1 line
Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), recv() and send().
........
2011-03-03 14:17:51 +00:00
Antoine Pitrou
2262766de2
Merged revisions 88691 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88691 | antoine.pitrou | 2011-03-01 01:41:10 +0100 (mar., 01 mars 2011) | 3 lines
Endly, fix UnboundLocalError in telnetlib
........
2011-03-01 00:48:40 +00:00
Ezio Melotti
370d85cee4
Python 2 can encode/decode surrogates to utf-8. Add a test for this.
2011-02-28 01:42:29 +00:00
Antoine Pitrou
8ef3907044
Merged revisions 88671 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88671 | antoine.pitrou | 2011-02-27 16:44:12 +0100 (dim., 27 févr. 2011) | 3 lines
Follow up to r88664: non-blocking connect-ex() can return EWOULDBLOCK under Windows
........
2011-02-27 15:45:22 +00:00
Antoine Pitrou
d3f6ea1d1e
Merged revisions 88664 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88664 | antoine.pitrou | 2011-02-27 00:24:06 +0100 (dim., 27 févr. 2011) | 4 lines
Issue #11326 : Add the missing connect_ex() implementation for SSL sockets,
and make it work for non-blocking connects.
........
2011-02-26 23:35:27 +00:00
Benjamin Peterson
8059e1e214
Merged revisions 88535,88661 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r88535 | brett.cannon | 2011-02-23 13:46:46 -0600 (Wed, 23 Feb 2011) | 1 line
Add lib2to3.__main__ for easy testing from the console.
........
r88661 | benjamin.peterson | 2011-02-26 16:06:24 -0600 (Sat, 26 Feb 2011) | 6 lines
fix refactoring on formfeed characters #11250
This is because text.splitlines() is not the same as
list(StringIO.StringIO(text)).
........
2011-02-26 22:11:02 +00:00