Commit graph

48129 commits

Author SHA1 Message Date
Antoine Pitrou
f874debbf3 Merge fix for issue #11391 2011-03-06 01:53:19 +01:00
Antoine Pitrou
80d3610bc3 Merge fix for issue #11391 2011-03-06 01:50:56 +01:00
Antoine Pitrou
7b50c2c6ae Fix buildbot failure following 97a5590b9291 2011-03-06 01:47:18 +01:00
Antoine Pitrou
16a0a0b0a0 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 01:11:03 +01:00
Antoine Pitrou
d1b1991fd4 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:49:50 +01:00
Georg Brandl
8256242b30 Adapt platform and test_platform to the build identification changes. 2011-03-05 21:09:22 +01:00
Georg Brandl
1ca2e7965c Commit the hg build identification patch from the pymigr repo. 2011-03-05 20:51:24 +01:00
Georg Brandl
53b13e9873 Merge tags from 3.2. 2011-03-05 20:31:42 +01:00
Georg Brandl
776e2d4d22 Merge tags from 3.1. 2011-03-05 20:30:52 +01:00
Georg Brandl
3c2ccf2936 More tag fixups. 2011-03-05 20:29:01 +01:00
Antoine Pitrou
533c79dc67 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.
2011-03-05 17:46:03 +01:00
Georg Brandl
4f10b7674d Dummy-merge 3.2 branch into default branch. 2011-03-05 15:16:28 +01:00
Georg Brandl
766f1645ee Dummy-merge 3.1 branch into 3.2 branch. 2011-03-05 15:15:55 +01:00
Georg Brandl
45b0b0195b Fix tag references in default branch. 2011-03-05 15:12:14 +01:00
Georg Brandl
49857f8a93 Add updated .hgeol file and fix newlines in the 3.2 branch. 2011-03-05 15:11:35 +01:00
Georg Brandl
b2a39da238 Fix tag references in 3.2 branch. 2011-03-05 15:11:23 +01:00
Georg Brandl
5537d298ea Add updated .hgeol file and fix newlines in the 3.1 branch. 2011-03-05 15:10:38 +01:00
Georg Brandl
6e63a41801 Fix tag references in 3.1 branch. 2011-03-05 15:10:23 +01:00
Victor Stinner
27ee089c35 Issue #3080: Add PyImport_AddModuleObject() and PyImport_ExecCodeModuleObject() 2011-03-04 12:57:09 +00:00
Victor Stinner
0639b56672 Issue #3080: Add PyModule_NewObject() function 2011-03-04 12:57:07 +00:00
Giampaolo Rodolà
3a9559b844 Update Misc/NEWS to include issue #9795 (nntplib context manager support) 2011-03-04 12:54:34 +00:00
Giampaolo Rodolà
dc29e7dfd1 Include Марк Коренберг and Steffen Daode Nurpmeso in Mist/ACKS for contributions in issues 11265 and 11351. 2011-03-04 12:51:08 +00:00
Eli Bendersky
0716a579a4 Mentioned new clear() method of MutableSequence in its doc, and added unit tests for its mixin methods 2011-03-04 10:38:14 +00:00
Eli Bendersky
9479d1ade8 Issue #11388: Added a clear() method to MutableSequence 2011-03-04 05:34:58 +00:00
Eli Bendersky
e0c8635d89 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 05:10:57 +00:00
Eli Bendersky
1bc4f193d8 Issue #11386: Fixed the exception thrown by bytearray.pop() for empty bytearrays 2011-03-04 04:55:25 +00:00
Giampaolo Rodolà
424298a155 Issue 9795: adds context manager protocol to nntplib.NNTP class so that it can used with the 'with' statement. 2011-03-03 18:34:06 +00:00
Eli Bendersky
4db28d3343 Issue #10516: added copy() and clear() methods to bytearrays as well 2011-03-03 18:21:02 +00:00
R. David Murray
752b950e6b 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:12:34 +00:00
R. David Murray
91221f2857 #11306: Treat EROFS like EACCES when making a 'file is read-only' decision 2011-03-03 18:03:36 +00:00
Giampaolo Rodolà
acdad9a40b Issue 11351 - apply patch by Steffen Daode Nurpmeso which should fix TestSendfile.test_headers failure on OSX. 2011-03-03 16:10:51 +00:00
Giampaolo Rodolà
00a4286591 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
........
2011-03-03 14:11:46 +00:00
Giampaolo Rodolà
de3dc0f66c fix attribute error 2011-03-03 14:10:58 +00:00
Giampaolo Rodolà
2f95dc0225 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:09:45 +00:00
Victor Stinner
ff45fedf61 Issue #11377: Fix quoting on Windows in test_platform 2011-03-03 14:07:21 +00:00
Giampaolo Rodolà
9c9105dc81 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 13:59:28 +00:00
Giampaolo Rodolà
1bc75c6cee Fix issue 11265: asyncore now correctly handles EPIPE, EBADF and EAGAIN errors on accept(), recv() and send(). 2011-03-03 13:57:47 +00:00
Victor Stinner
1dfd380306 Issue #11377: Deprecate platform.popen() and reimplement it with os.popen(). 2011-03-03 12:54:07 +00:00
Victor Stinner
7b3b20ad29 Issue #8513: On UNIX, subprocess supports bytes command string. 2011-03-03 12:54:05 +00:00
Nick Coghlan
8370bb9528 Update compiler recursion crasher to more reliably blow the stack and add a tracker issue for it 2011-03-03 11:08:33 +00:00
Fred Drake
c7eb7894d3 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
........
2011-03-03 05:29:59 +00:00
Fred Drake
446230664b issue 11372: use range instead of xrange 2011-03-03 05:27:17 +00:00
Benjamin Peterson
863a0c3f53 add tests for xml.pulldom #9373
Thanks to Mark Smith for the patch.
2011-03-02 23:40:36 +00:00
Daniel Stutzbach
8eda5f7cd9 #11335: Fix memory leak when a sort key function throws an exception 2011-03-02 23:37:50 +00:00
Victor Stinner
2f283c2c19 Fix my previous commit (r88709) for str.encode(errors=...) 2011-03-02 01:21:46 +00:00
Victor Stinner
a5c68c3cb7 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).
2011-03-02 01:03:14 +00:00
Victor Stinner
f3fd733f92 Remove useless argument of _PyUnicode_AsDefaultEncodedString() 2011-03-02 01:03:11 +00:00
Éric Araujo
6f58b6b504 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.
2011-03-02 00:31:51 +00:00
Antoine Pitrou
ec78522424 assertEquals is deprecated 2011-03-02 00:15:44 +00:00
Victor Stinner
0fbe22655b Issue #10831: Document the new formats (%li, %lli, %zi) 2011-03-02 00:10:34 +00:00