]>
granicus.if.org Git - python/log
Georg Brandl [Sun, 6 Mar 2011 09:36:06 +0000 (10:36 +0100)]
merge heads
Georg Brandl [Sun, 6 Mar 2011 09:35:42 +0000 (10:35 +0100)]
Remove sys.subversion and svn build identification leftovers.
Georg Brandl [Sun, 6 Mar 2011 09:26:32 +0000 (10:26 +0100)]
Merge build identification to default branch.
Georg Brandl [Sun, 6 Mar 2011 09:13:00 +0000 (10:13 +0100)]
Merge build identification to 3.2 branch.
Antoine Pitrou [Sun, 6 Mar 2011 07:40:35 +0000 (08:40 +0100)]
Issue #11408: In threading.Lock.acquire(), only call gettimeofday() when
really necessary. Patch by Charles-François Natali.
Antoine Pitrou [Sun, 6 Mar 2011 00:53:19 +0000 (01:53 +0100)]
Merge fix for issue #11391
Antoine Pitrou [Sun, 6 Mar 2011 00:50:56 +0000 (01:50 +0100)]
Merge fix for issue #11391
Antoine Pitrou [Sun, 6 Mar 2011 00:47:18 +0000 (01:47 +0100)]
Fix buildbot failure following
97a5590b9291
Antoine Pitrou [Sun, 6 Mar 2011 00:11:03 +0000 (01:11 +0100)]
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.
Antoine Pitrou [Sat, 5 Mar 2011 20:49:50 +0000 (21:49 +0100)]
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)
Georg Brandl [Sat, 5 Mar 2011 20:09:22 +0000 (21:09 +0100)]
Adapt platform and test_platform to the build identification changes.
Georg Brandl [Sat, 5 Mar 2011 19:51:24 +0000 (20:51 +0100)]
Commit the hg build identification patch from the pymigr repo.
Georg Brandl [Sat, 5 Mar 2011 19:31:42 +0000 (20:31 +0100)]
Merge tags from 3.2.
Georg Brandl [Sat, 5 Mar 2011 19:30:52 +0000 (20:30 +0100)]
Merge tags from 3.1.
Georg Brandl [Sat, 5 Mar 2011 19:29:01 +0000 (20:29 +0100)]
More tag fixups.
Antoine Pitrou [Sat, 5 Mar 2011 16:46:03 +0000 (17:46 +0100)]
Add the map of SVN revision numbers to changeset ids.
This is mostly to help history-digging, especially when
focussing on feature branches.
Note that not all changesets are in the main repository,
but they are all in the full history repository.
Georg Brandl [Sat, 5 Mar 2011 14:16:28 +0000 (15:16 +0100)]
Dummy-merge 3.2 branch into default branch.
Georg Brandl [Sat, 5 Mar 2011 14:15:55 +0000 (15:15 +0100)]
Dummy-merge 3.1 branch into 3.2 branch.
Georg Brandl [Sat, 5 Mar 2011 14:12:14 +0000 (15:12 +0100)]
Fix tag references in default branch.
Georg Brandl [Sat, 5 Mar 2011 14:11:35 +0000 (15:11 +0100)]
Add updated .hgeol file and fix newlines in the 3.2 branch.
Georg Brandl [Sat, 5 Mar 2011 14:11:23 +0000 (15:11 +0100)]
Fix tag references in 3.2 branch.
Georg Brandl [Sat, 5 Mar 2011 14:10:38 +0000 (15:10 +0100)]
Add updated .hgeol file and fix newlines in the 3.1 branch.
Georg Brandl [Sat, 5 Mar 2011 14:10:23 +0000 (15:10 +0100)]
Fix tag references in 3.1 branch.
Victor Stinner [Fri, 4 Mar 2011 12:57:09 +0000 (12:57 +0000)]
Issue #3080: Add PyImport_AddModuleObject() and PyImport_ExecCodeModuleObject()
Victor Stinner [Fri, 4 Mar 2011 12:57:07 +0000 (12:57 +0000)]
Issue #3080: Add PyModule_NewObject() function
Giampaolo Rodolà [Fri, 4 Mar 2011 12:54:34 +0000 (12:54 +0000)]
Update Misc/NEWS to include issue #9795 (nntplib context manager support)
Giampaolo Rodolà [Fri, 4 Mar 2011 12:51:08 +0000 (12:51 +0000)]
Include Марк Коренберг and Steffen Daode Nurpmeso in Mist/ACKS for contributions in issues 11265 and 11351.
Eli Bendersky [Fri, 4 Mar 2011 10:38:14 +0000 (10:38 +0000)]
Mentioned new clear() method of MutableSequence in its doc, and added unit tests for its mixin methods
Eli Bendersky [Fri, 4 Mar 2011 05:34:58 +0000 (05:34 +0000)]
Issue #11388: Added a clear() method to MutableSequence
Eli Bendersky [Fri, 4 Mar 2011 05:10:57 +0000 (05:10 +0000)]
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
........
Eli Bendersky [Fri, 4 Mar 2011 04:55:25 +0000 (04:55 +0000)]
Issue #11386: Fixed the exception thrown by bytearray.pop() for empty bytearrays
Giampaolo Rodolà [Thu, 3 Mar 2011 18:34:06 +0000 (18:34 +0000)]
Issue 9795: adds context manager protocol to nntplib.NNTP class so that it can used with the 'with' statement.
Eli Bendersky [Thu, 3 Mar 2011 18:21:02 +0000 (18:21 +0000)]
Issue #10516: added copy() and clear() methods to bytearrays as well
R. David Murray [Thu, 3 Mar 2011 18:12:34 +0000 (18:12 +0000)]
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
........
R. David Murray [Thu, 3 Mar 2011 18:03:36 +0000 (18:03 +0000)]
#11306: Treat EROFS like EACCES when making a 'file is read-only' decision
Giampaolo Rodolà [Thu, 3 Mar 2011 16:10:51 +0000 (16:10 +0000)]
Issue 11351 - apply patch by Steffen Daode Nurpmeso which should fix TestSendfile.test_headers failure on OSX.
Giampaolo Rodolà [Thu, 3 Mar 2011 14:11:46 +0000 (14:11 +0000)]
Merged revisions 88726 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88726 | giampaolo.rodola | 2011-03-03 15:10:58 +0100 (gio, 03 mar 2011) | 1 line
fix attribute error
........
Giampaolo Rodolà [Thu, 3 Mar 2011 14:10:58 +0000 (14:10 +0000)]
fix attribute error
Giampaolo Rodolà [Thu, 3 Mar 2011 14:09:45 +0000 (14:09 +0000)]
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().
........
Victor Stinner [Thu, 3 Mar 2011 14:07:21 +0000 (14:07 +0000)]
Issue #11377: Fix quoting on Windows in test_platform
Giampaolo Rodolà [Thu, 3 Mar 2011 13:59:28 +0000 (13:59 +0000)]
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().
........
Giampaolo Rodolà [Thu, 3 Mar 2011 13:57:47 +0000 (13:57 +0000)]
Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), recv() and send().
Victor Stinner [Thu, 3 Mar 2011 12:54:07 +0000 (12:54 +0000)]
Issue #11377: Deprecate platform.popen() and reimplement it with os.popen().
Victor Stinner [Thu, 3 Mar 2011 12:54:05 +0000 (12:54 +0000)]
Issue #8513: On UNIX, subprocess supports bytes command string.
Nick Coghlan [Thu, 3 Mar 2011 11:08:33 +0000 (11:08 +0000)]
Update compiler recursion crasher to more reliably blow the stack and add a tracker issue for it
Fred Drake [Thu, 3 Mar 2011 05:29:59 +0000 (05:29 +0000)]
Merged revisions 88717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88717 | fred.drake | 2011-03-03 00:27:17 -0500 (Thu, 03 Mar 2011) | 2 lines
issue 11372: use range instead of xrange
........
Fred Drake [Thu, 3 Mar 2011 05:27:17 +0000 (05:27 +0000)]
issue 11372: use range instead of xrange
Benjamin Peterson [Wed, 2 Mar 2011 23:40:36 +0000 (23:40 +0000)]
add tests for xml.pulldom #9373
Thanks to Mark Smith for the patch.
Daniel Stutzbach [Wed, 2 Mar 2011 23:37:50 +0000 (23:37 +0000)]
#11335: Fix memory leak when a sort key function throws an exception
Victor Stinner [Wed, 2 Mar 2011 01:21:46 +0000 (01:21 +0000)]
Fix my previous commit (r88709) for str.encode(errors=...)
Victor Stinner [Wed, 2 Mar 2011 01:03:14 +0000 (01:03 +0000)]
Issue #8923: cache str.encode() result
When a string is encoded to UTF-8 in strict mode, the result is cached into the
object. Examples: str.encode(), str.encode('utf-8'), PyUnicode_AsUTF8String()
and PyUnicode_AsEncodedString(unicode, "utf-8", NULL).
Victor Stinner [Wed, 2 Mar 2011 01:03:11 +0000 (01:03 +0000)]
Remove useless argument of _PyUnicode_AsDefaultEncodedString()
Éric Araujo [Wed, 2 Mar 2011 00:31:51 +0000 (00:31 +0000)]
Remove last use of distutils.sysconfig from the stdlib (#11364).
Apart from distutils itself, the stdlib has now officially switched to
the new top-level sysconfig module. Patch greenlighted by Ned Deily.
Antoine Pitrou [Wed, 2 Mar 2011 00:15:44 +0000 (00:15 +0000)]
assertEquals is deprecated
Victor Stinner [Wed, 2 Mar 2011 00:10:34 +0000 (00:10 +0000)]
Issue #10831: Document the new formats (%li, %lli, %zi)
Victor Stinner [Wed, 2 Mar 2011 00:04:25 +0000 (00:04 +0000)]
Issue #10831: PyUnicode_FromFormat() supports %li, %lli and %zi formats
Victor Stinner [Wed, 2 Mar 2011 00:01:53 +0000 (00:01 +0000)]
Fix my previous commit (r88702): initialize size_tflag in parse_format_flags()
Victor Stinner [Tue, 1 Mar 2011 23:44:09 +0000 (23:44 +0000)]
Issue #10829: Refactor PyUnicode_FromFormat()
* Use the same function to parse the format string in the 3 steps
* Fix crashs on invalid format strings
Victor Stinner [Tue, 1 Mar 2011 23:09:57 +0000 (23:09 +0000)]
Merged revisions 88700 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88700 | victor.stinner | 2011-03-02 00:08:36 +0100 (mer., 02 mars 2011) | 3 lines
Issue #10911: Add tests on CGI with non-ASCII characters
Patch written by Pierre Quentel
........
Victor Stinner [Tue, 1 Mar 2011 23:08:36 +0000 (23:08 +0000)]
Issue #10911: Add tests on CGI with non-ASCII characters
Patch written by Pierre Quentel
Antoine Pitrou [Tue, 1 Mar 2011 23:05:42 +0000 (23:05 +0000)]
Followup to issue #11140 and r88682: also patch _dummy_thread.
Patch by Aymeric Augustin.
Victor Stinner [Tue, 1 Mar 2011 22:48:49 +0000 (22:48 +0000)]
Merged revisions 88697 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88697 | victor.stinner | 2011-03-01 23:46:52 +0100 (mar., 01 mars 2011) | 4 lines
Issue #11246: Fix PyUnicode_FromFormat("%V")
Decode the byte string from UTF-8 (with replace error handler) instead of
ISO-8859-1 (in strict mode). Patch written by Ray Allen.
........
Victor Stinner [Tue, 1 Mar 2011 22:46:52 +0000 (22:46 +0000)]
Issue #11246: Fix PyUnicode_FromFormat("%V")
Decode the byte string from UTF-8 (with replace error handler) instead of
ISO-8859-1 (in strict mode). Patch written by Ray Allen.
Éric Araujo [Tue, 1 Mar 2011 18:26:56 +0000 (18:26 +0000)]
Remove outdated pointer to optparse (fixes #11360).
The doc already points to argparse.
Antoine Pitrou [Tue, 1 Mar 2011 00:45:22 +0000 (00:45 +0000)]
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
........
Antoine Pitrou [Tue, 1 Mar 2011 00:41:10 +0000 (00:41 +0000)]
Endly, fix UnboundLocalError in telnetlib
Antoine Pitrou [Tue, 1 Mar 2011 00:29:11 +0000 (00:29 +0000)]
Apparently, skipUnless() doesn't prevent the execution of
setUp() under 3.1.
Antoine Pitrou [Mon, 28 Feb 2011 23:48:16 +0000 (23:48 +0000)]
Merged revisions 88460,88464,88466,88486,88511,88652 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88460 | antoine.pitrou | 2011-02-21 19:03:13 +0100 (lun., 21 févr. 2011) | 4 lines
Issue #10276: Fix the results of zlib.crc32() and zlib.adler32() on buffers
larger than 4GB. Patch by Nadeem Vawda.
........
r88464 | antoine.pitrou | 2011-02-21 20:05:08 +0100 (lun., 21 févr. 2011) | 3 lines
Fix issues on 32-bit systems introduced by r88460
........
r88466 | antoine.pitrou | 2011-02-21 20:28:40 +0100 (lun., 21 févr. 2011) | 3 lines
Fix compile error under MSVC introduced by r88460.
........
r88486 | antoine.pitrou | 2011-02-22 00:41:12 +0100 (mar., 22 févr. 2011) | 5 lines
Issue #4681: Allow mmap() to work on file sizes and offsets larger than
4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for
32-bit Windows.
........
r88511 | antoine.pitrou | 2011-02-22 22:42:56 +0100 (mar., 22 févr. 2011) | 4 lines
Issue #11277: finally fix Snow Leopard crash following r88460.
(probably an OS-related issue with mmap)
........
r88652 | antoine.pitrou | 2011-02-26 16:58:05 +0100 (sam., 26 févr. 2011) | 4 lines
Issue #9931: Fix hangs in GUI tests under Windows in certain conditions.
Patch by Hirokazu Yamamoto.
........
Antoine Pitrou [Mon, 28 Feb 2011 23:03:28 +0000 (23:03 +0000)]
Merged revisions 88686 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88686 | antoine.pitrou | 2011-02-28 23:38:07 +0100 (lun., 28 févr. 2011) | 4 lines
Recommend inspecting the errno attribute of socket.error objects,
and improve wording.
........
Antoine Pitrou [Mon, 28 Feb 2011 22:38:07 +0000 (22:38 +0000)]
Recommend inspecting the errno attribute of socket.error objects,
and improve wording.
Antoine Pitrou [Mon, 28 Feb 2011 22:25:22 +0000 (22:25 +0000)]
Issue #10866: Add socket.sethostname(). Initial patch by Ross Lagerwall.
Antoine Pitrou [Mon, 28 Feb 2011 22:06:48 +0000 (22:06 +0000)]
Add credit for r88682.
Antoine Pitrou [Mon, 28 Feb 2011 22:04:51 +0000 (22:04 +0000)]
No need to put this at top
Antoine Pitrou [Mon, 28 Feb 2011 22:03:34 +0000 (22:03 +0000)]
Issue #11140: Lock.release() now raises a RuntimeError when attempting
to release an unacquired lock, as claimed in the threading documentation.
The _thread.error exception is now an alias of RuntimeError.
Giampaolo Rodolà [Mon, 28 Feb 2011 19:27:16 +0000 (19:27 +0000)]
Issue 11348: skip os.setpriority() test if current nice level is >= 19.
Giampaolo Rodolà [Mon, 28 Feb 2011 19:19:51 +0000 (19:19 +0000)]
Fix issue 8594: adds a source_address parameter to ftplib module.
Antoine Pitrou [Sun, 27 Feb 2011 15:45:16 +0000 (15:45 +0000)]
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
........
Antoine Pitrou [Sun, 27 Feb 2011 15:44:12 +0000 (15:44 +0000)]
Follow up to r88664: non-blocking connect-ex() can return EWOULDBLOCK under Windows
Benjamin Peterson [Sun, 27 Feb 2011 15:15:06 +0000 (15:15 +0000)]
Merged revisions 88668 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88668 | benjamin.peterson | 2011-02-27 09:06:44 -0600 (Sun, 27 Feb 2011) | 1 line
make this a link #11345
........
Benjamin Peterson [Sun, 27 Feb 2011 15:06:44 +0000 (15:06 +0000)]
make this a link #11345
Antoine Pitrou [Sat, 26 Feb 2011 23:25:34 +0000 (23:25 +0000)]
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.
........
Antoine Pitrou [Sat, 26 Feb 2011 23:24:06 +0000 (23:24 +0000)]
Issue #11326: Add the missing connect_ex() implementation for SSL sockets,
and make it work for non-blocking connects.
Benjamin Peterson [Sat, 26 Feb 2011 22:12:10 +0000 (22:12 +0000)]
Merged revisions 88661 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
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)).
........
Benjamin Peterson [Sat, 26 Feb 2011 21:35:16 +0000 (21:35 +0000)]
revert accidental formatting change
Benjamin Peterson [Sat, 26 Feb 2011 21:34:51 +0000 (21:34 +0000)]
Merged revisions 88658 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88658 | benjamin.peterson | 2011-02-26 15:32:16 -0600 (Sat, 26 Feb 2011) | 1 line
this isn't true anymore
........
Benjamin Peterson [Sat, 26 Feb 2011 21:32:16 +0000 (21:32 +0000)]
this isn't true anymore
Antoine Pitrou [Sat, 26 Feb 2011 17:52:50 +0000 (17:52 +0000)]
Make sendfile tests more robust
Antoine Pitrou [Sat, 26 Feb 2011 16:49:08 +0000 (16:49 +0000)]
Merged revisions 88652 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88652 | antoine.pitrou | 2011-02-26 16:58:05 +0100 (sam., 26 févr. 2011) | 4 lines
Issue #9931: Fix hangs in GUI tests under Windows in certain conditions.
Patch by Hirokazu Yamamoto.
........
Vinay Sajip [Sat, 26 Feb 2011 16:06:02 +0000 (16:06 +0000)]
Issue #11330: Updated tests for correct asctime handling.
Vinay Sajip [Sat, 26 Feb 2011 16:06:02 +0000 (16:06 +0000)]
Issue #11330: Updated tests for correct asctime handling.
Vinay Sajip [Sat, 26 Feb 2011 16:00:04 +0000 (16:00 +0000)]
Issue #11330: Added regression test.
Antoine Pitrou [Sat, 26 Feb 2011 15:58:05 +0000 (15:58 +0000)]
Issue #9931: Fix hangs in GUI tests under Windows in certain conditions.
Patch by Hirokazu Yamamoto.
Vinay Sajip [Sat, 26 Feb 2011 15:35:38 +0000 (15:35 +0000)]
Issue #9941: Fixed TimedRotatingHandler test issues.
Éric Araujo [Sat, 26 Feb 2011 14:57:23 +0000 (14:57 +0000)]
Replace links to the old dev doc with links to the new devguide.
Éric Araujo [Sat, 26 Feb 2011 14:48:42 +0000 (14:48 +0000)]
Typos
Antoine Pitrou [Sat, 26 Feb 2011 14:29:24 +0000 (14:29 +0000)]
Issue #11323: fix sendfile tests under 64-bit Solaris.
Vinay Sajip [Sat, 26 Feb 2011 14:28:36 +0000 (14:28 +0000)]
Removed typo.
Vinay Sajip [Sat, 26 Feb 2011 14:28:36 +0000 (14:28 +0000)]
Removed typo.
Vinay Sajip [Sat, 26 Feb 2011 14:24:29 +0000 (14:24 +0000)]
Issue #11331: fixed documentation in logging cookbook.
Vinay Sajip [Sat, 26 Feb 2011 14:24:29 +0000 (14:24 +0000)]
Issue #11331: fixed documentation in logging cookbook.