]>
granicus.if.org Git - python/log
Antoine Pitrou [Mon, 7 Feb 2011 16:03:47 +0000 (16:03 +0000)]
Merged revisions 88371 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88371 | antoine.pitrou | 2011-02-07 16:58:11 +0100 (lun., 07 févr. 2011) | 3 lines
Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown().
........
Gregory P. Smith [Sat, 5 Feb 2011 21:49:56 +0000 (21:49 +0000)]
Merged revisions 88352 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88352 | gregory.p.smith | 2011-02-05 13:47:25 -0800 (Sat, 05 Feb 2011) | 3 lines
issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
happens when the end exits before the beginning.
........
Brett Cannon [Fri, 4 Feb 2011 20:29:59 +0000 (20:29 +0000)]
Blocked revisions 88337 via svnmerge
........
r88337 | brett.cannon | 2011-02-04 12:24:02 -0800 (Fri, 04 Feb 2011) | 5 lines
There was a possibility that the initialization of _sqlite, when it failed,
would lead to a decref of a NULL.
Fixes issue #11110.
........
Antoine Pitrou [Fri, 4 Feb 2011 20:17:53 +0000 (20:17 +0000)]
Merged revisions 88334 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88334 | antoine.pitrou | 2011-02-04 21:11:11 +0100 (ven., 04 févr. 2011) | 3 lines
Mention that seek and tell over a TextIOWrapper can be very slow.
........
Éric Araujo [Thu, 3 Feb 2011 00:12:18 +0000 (00:12 +0000)]
Merged revisions 86236,86240,86332,86340,87271,87273,87447 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
To comply with the 2.x doc style, the methods in trace.rst use brackets around
optional arguments. The rest is a mostly straight merge, modulo support changed
to test_support and use of the old super call style in test_tuple.
........
r86236 | eric.araujo | 2010-11-06 03:44:43 +0100 (sam., 06 nov. 2010) | 2 lines
Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
........
r86240 | eric.araujo | 2010-11-06 05:11:59 +0100 (sam., 06 nov. 2010) | 2 lines
Prevent ResourceWarnings in test_gettext
........
r86332 | eric.araujo | 2010-11-08 19:15:17 +0100 (lun., 08 nov. 2010) | 4 lines
Add missing NEWS entry for a fix committed by Senthil.
All recent modifications to distutils should now be covered in NEWS.
........
r86340 | eric.araujo | 2010-11-08 22:48:23 +0100 (lun., 08 nov. 2010) | 2 lines
This was actually fixed for the previous alpha.
........
r87271 | eric.araujo | 2010-12-15 20:09:58 +0100 (mer., 15 déc. 2010) | 2 lines
Improve trace documentation (#9264). Patch by Eli Bendersky.
........
r87273 | eric.araujo | 2010-12-15 20:30:15 +0100 (mer., 15 déc. 2010) | 2 lines
Use nested method directives, rewrap long lines, fix whitespace.
........
r87447 | eric.araujo | 2010-12-23 20:13:05 +0100 (jeu., 23 déc. 2010) | 2 lines
Fix typo in superclass method name
........
Éric Araujo [Wed, 2 Feb 2011 17:03:38 +0000 (17:03 +0000)]
Fix typo: BadZipFile exists in 3.2+ only, not older versions.
Raymond Hettinger [Wed, 2 Feb 2011 08:37:11 +0000 (08:37 +0000)]
Issue 11089: Fix performance bug in ConfigParser that impaired its
usability for large config files.
The ConfigParser.get() method should have been O(1) but had
O(n) dict copies and updates on every call. This was
exacerbated by using OrderedDicts which do not copy or
update nearly as fast as regular dicts which are coded in C.
Antoine Pitrou [Mon, 31 Jan 2011 21:47:45 +0000 (21:47 +0000)]
Merged revisions 88284 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88284 | antoine.pitrou | 2011-01-31 22:08:57 +0100 (lun., 31 janv. 2011) | 4 lines
Issue #8275: Fix passing of callback arguments with ctypes under Win64.
Patch by Stan Mihai. Ok'ed by Georg.
........
Brian Curtin [Mon, 31 Jan 2011 19:55:14 +0000 (19:55 +0000)]
Merged revisions 88281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88281 | brian.curtin | 2011-01-31 13:35:02 -0600 (Mon, 31 Jan 2011) | 2 lines
#11083 typo: RuntimeException -> RuntimeError
........
Ned Deily [Mon, 31 Jan 2011 00:52:49 +0000 (00:52 +0000)]
Merged revisions 88232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88232 | ned.deily | 2011-01-29 10:29:01 -0800 (Sat, 29 Jan 2011) | 5 lines
Issue #10940: Workaround an IDLE hang on Mac OS X 10.6 when using the
menu accelerators for Open Module, Go to Line, and New Indent Width.
The accelerators still work but no longer appear in the menu items.
........
Steven Bethard [Sun, 30 Jan 2011 14:05:38 +0000 (14:05 +0000)]
#10680: fix mutually exclusive arguments in argument groups.
Ned Deily [Sun, 30 Jan 2011 01:43:40 +0000 (01:43 +0000)]
Merged revisions 88004,88006,88235 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88004 | ned.deily | 2011-01-14 20:44:12 -0800 (Fri, 14 Jan 2011) | 4 lines
#10907: Update OS X installer build README to better reflect
current build practices.
........
r88006 | ned.deily | 2011-01-14 21:29:12 -0800 (Fri, 14 Jan 2011) | 6 lines
#10843: Update third-party library versions used in OS X 32-bit
installer builds: bzip2 1.0.6, readline 6.1.2, SQLite 3.7.4
(with FTS3/FTS4 and RTREE enabled), and ncursesw 5.5 (wide-char
support enabled).
........
r88235 | ned.deily | 2011-01-29 10:56:28 -0800 (Sat, 29 Jan 2011) | 5 lines
Issue #11054: Allow Mac OS X installer builds to again work on 10.5 with
the system-provided Python. Also, properly guard a new Python 3 only
installer build step so that build-installer.py can stay compatible
with the 2.7 version. (with release manager approval for 3.2rc2)
........
Ned Deily [Sun, 30 Jan 2011 00:18:47 +0000 (00:18 +0000)]
Merged revisions 88003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88003 | ned.deily | 2011-01-14 20:37:12 -0800 (Fri, 14 Jan 2011) | 5 lines
#10907: Warn OS X 10.6 IDLE users to use ActiveState Tcl/Tk 8.5,
rather than the currently problematic Apple-supplied one,
when running with the 64-/32-bit installer variant.
........
Ned Deily [Sat, 29 Jan 2011 19:30:39 +0000 (19:30 +0000)]
Merged revisions 88236 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88236 | ned.deily | 2011-01-29 11:10:26 -0800 (Sat, 29 Jan 2011) | 3 lines
Issue 11052: Correct IDLE menu accelerators on Mac OS X for Save
commands. (with release manager approval for 3.2rc2)
........
Vinay Sajip [Thu, 27 Jan 2011 19:14:16 +0000 (19:14 +0000)]
Issue 11008: docs updated to show versionadded for dictConfig.
Antoine Pitrou [Wed, 26 Jan 2011 23:31:25 +0000 (23:31 +0000)]
Merged revisions 88204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88204 | antoine.pitrou | 2011-01-27 00:29:28 +0100 (jeu., 27 janv. 2011) | 4 lines
Issue #11018: fix a test to not be a no-op in test_bz2.
Found by Nadeem Vawda, reviewed by Brett.
........
Raymond Hettinger [Wed, 26 Jan 2011 20:40:32 +0000 (20:40 +0000)]
Add note advising that 'filter' be used as a keyword-argument.
Raymond Hettinger [Tue, 25 Jan 2011 21:43:29 +0000 (21:43 +0000)]
Issue 11004: Fix edge case for deque.count().
Terry Reedy [Mon, 24 Jan 2011 21:48:11 +0000 (21:48 +0000)]
Issue #11000 ast.parse doc fix (r88172)
Steven Bethard [Mon, 24 Jan 2011 20:40:15 +0000 (20:40 +0000)]
Issue #9509: make argarse properly handle IOErrors raised by argparse.FileType. Approved by Georg in the tracker.
Vinay Sajip [Fri, 21 Jan 2011 23:35:57 +0000 (23:35 +0000)]
Issue #10949: Improved robustness of rotating file handlers.
Antoine Pitrou [Thu, 20 Jan 2011 21:20:18 +0000 (21:20 +0000)]
Merged revisions 88131 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88131 | antoine.pitrou | 2011-01-20 22:07:24 +0100 (jeu., 20 janv. 2011) | 6 lines
Issue #10955: Fix a potential crash when trying to mmap() a file past its
length. Initial patch by Ross Lagerwall.
This fixes a regression introduced by r88022.
........
Alexander Belopolsky [Wed, 19 Jan 2011 21:48:20 +0000 (21:48 +0000)]
Merged revisions 88114 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88114 | alexander.belopolsky | 2011-01-19 14:53:30 -0500 (Wed, 19 Jan 2011) | 5 lines
Issue #10934: Fixed and expanded Internaldate2tuple() and
Time2Internaldate() documentation. Thanks Joe Peterson for the report
and the original patch.
........
Antoine Pitrou [Wed, 19 Jan 2011 15:27:24 +0000 (15:27 +0000)]
Merged revisions 88111 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88111 | antoine.pitrou | 2011-01-19 16:21:35 +0100 (mer., 19 janv. 2011) | 4 lines
Issue #10898: Allow compiling the posix module when the C library defines
a symbol named FSTAT.
........
Antoine Pitrou [Tue, 18 Jan 2011 19:06:19 +0000 (19:06 +0000)]
Merged revisions 88097 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88097 | antoine.pitrou | 2011-01-18 19:57:52 +0100 (mar., 18 janv. 2011) | 4 lines
Issue #10451: memoryview objects could allow to mutate a readable buffer.
Initial patch by Ross Lagerwall.
........
Ned Deily [Tue, 18 Jan 2011 04:33:22 +0000 (04:33 +0000)]
Merged revisions 87394 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87394 | georg.brandl | 2010-12-19 02:10:32 -0800 (Sun, 19 Dec 2010) | 1 line
#6075: make idle work with both Carbon AquaTk and Cocoa AquaTk. Patch by Kevin Walzer and Ned Deily.
........
Ned Deily [Tue, 18 Jan 2011 01:47:17 +0000 (01:47 +0000)]
Merged revisions 88008 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88008 | ned.deily | 2011-01-14 21:53:33 -0800 (Fri, 14 Jan 2011) | 2 lines
Add self to mac platform area in maintainers.rst.
........
Benjamin Peterson [Mon, 17 Jan 2011 23:55:58 +0000 (23:55 +0000)]
Merged revisions 88080 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88080 | benjamin.peterson | 2011-01-17 17:49:51 -0600 (Mon, 17 Jan 2011) | 1 line
very out of date file
........
Benjamin Peterson [Mon, 17 Jan 2011 19:57:01 +0000 (19:57 +0000)]
Merged revisions 88069 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88069 | benjamin.peterson | 2011-01-17 13:54:55 -0600 (Mon, 17 Jan 2011) | 1 line
remove unneeded assertion
........
Benjamin Peterson [Mon, 17 Jan 2011 19:48:58 +0000 (19:48 +0000)]
Merged revisions 88066 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88066 | benjamin.peterson | 2011-01-17 13:44:46 -0600 (Mon, 17 Jan 2011) | 1 line
correct assertion
........
Benjamin Peterson [Mon, 17 Jan 2011 19:30:29 +0000 (19:30 +0000)]
Merged revisions 88063 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88063 | benjamin.peterson | 2011-01-17 13:24:34 -0600 (Mon, 17 Jan 2011) | 4 lines
turn some checks into assertions, since they are implied by the caller
Reviewed by Georg.
........
Michael Foord [Sun, 16 Jan 2011 13:03:37 +0000 (13:03 +0000)]
Fix asyncore test that fails on pypy by explicitly closing file
Antoine Pitrou [Sat, 15 Jan 2011 17:40:00 +0000 (17:40 +0000)]
Merged revisions 88036 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88036 | antoine.pitrou | 2011-01-15 18:25:58 +0100 (sam., 15 janv. 2011) | 3 lines
Fix mmap and test_mmap under Windows too (followup to r88022)
........
Antoine Pitrou [Sat, 15 Jan 2011 16:18:57 +0000 (16:18 +0000)]
Merged revisions 88022 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88022 | antoine.pitrou | 2011-01-15 17:17:07 +0100 (sam., 15 janv. 2011) | 7 lines
Issue #10916: mmap should not segfault when a file is mapped using 0 as
length and a non-zero offset, and an attempt to read past the end of file
is made (IndexError is raised instead). Patch by Ross Lagerwall.
Requested by Georg.
........
Antoine Pitrou [Sat, 15 Jan 2011 14:29:23 +0000 (14:29 +0000)]
Merged revisions 88012-88018 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88012 | antoine.pitrou | 2011-01-15 12:39:23 +0100 (sam., 15 janv. 2011) | 3 lines
Avoid ResourceWarnings in ccbench
........
r88013 | antoine.pitrou | 2011-01-15 12:44:17 +0100 (sam., 15 janv. 2011) | 3 lines
Standard streams use file descriptors, not FILE pointers.
........
r88014 | antoine.pitrou | 2011-01-15 12:57:42 +0100 (sam., 15 janv. 2011) | 3 lines
Restructure a bit
........
r88015 | antoine.pitrou | 2011-01-15 13:10:48 +0100 (sam., 15 janv. 2011) | 3 lines
Improve description of issues
........
r88016 | antoine.pitrou | 2011-01-15 13:21:53 +0100 (sam., 15 janv. 2011) | 3 lines
Add mention of how to switch interpreters
........
r88017 | antoine.pitrou | 2011-01-15 13:54:19 +0100 (sam., 15 janv. 2011) | 3 lines
Reword and restructure the GIL API doc
........
r88018 | antoine.pitrou | 2011-01-15 14:11:48 +0100 (sam., 15 janv. 2011) | 4 lines
Issue #10913: Deprecate misleading functions PyEval_AcquireLock() and
PyEval_ReleaseLock(). The thread-state aware APIs should be used instead.
........
Eli Bendersky [Fri, 14 Jan 2011 07:50:27 +0000 (07:50 +0000)]
Issue #10902: Fix reference to run* methods
Georg Brandl [Thu, 13 Jan 2011 07:30:21 +0000 (07:30 +0000)]
Merged revisions 87984 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87984 | georg.brandl | 2011-01-13 08:24:40 +0100 (Do, 13 Jan 2011) | 1 line
Add semicolon for consistency.
........
Benjamin Peterson [Wed, 12 Jan 2011 19:27:17 +0000 (19:27 +0000)]
Merged revisions 87895 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87895 | lukasz.langa | 2011-01-09 12:18:53 -0600 (Sun, 09 Jan 2011) | 5 lines
#10874: test_urllib2 shouldn't use `is` operator for comparing strings
Patch by Adreas Stührk.
........
Benjamin Peterson [Wed, 12 Jan 2011 19:00:37 +0000 (19:00 +0000)]
Merged revisions 87960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87960 | benjamin.peterson | 2011-01-12 12:56:07 -0600 (Wed, 12 Jan 2011) | 1 line
use PyErr_SetString instead of PyErr_Format
........
Antoine Pitrou [Wed, 12 Jan 2011 18:56:09 +0000 (18:56 +0000)]
Merged revisions 87958 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87958 | antoine.pitrou | 2011-01-12 19:45:27 +0100 (mer., 12 janv. 2011) | 4 lines
Issue #10822: Fix test_posix:test_getgroups failure under Solaris. Patch
by Ross Lagerwall.
........
Benjamin Peterson [Wed, 12 Jan 2011 15:49:47 +0000 (15:49 +0000)]
Merged revisions 87952-87954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87952 | benjamin.peterson | 2011-01-12 09:24:27 -0600 (Wed, 12 Jan 2011) | 1 line
move this test to test_descr; it's not abc specific
........
r87953 | benjamin.peterson | 2011-01-12 09:25:02 -0600 (Wed, 12 Jan 2011) | 1 line
oops, wrong class
........
r87954 | benjamin.peterson | 2011-01-12 09:34:01 -0600 (Wed, 12 Jan 2011) | 1 line
don't segfault on deleting __abstractmethods__ #10892
........
Benjamin Peterson [Wed, 12 Jan 2011 04:47:43 +0000 (04:47 +0000)]
Merged revisions 87949 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87949 | benjamin.peterson | 2011-01-11 22:44:41 -0600 (Tue, 11 Jan 2011) | 1 line
fix weirdly ambigious sentence
........
Alexander Belopolsky [Tue, 11 Jan 2011 22:35:58 +0000 (22:35 +0000)]
Reverted r87944 - issue #5109 should not have been backported
Alexander Belopolsky [Tue, 11 Jan 2011 22:16:24 +0000 (22:16 +0000)]
Merged revisions 87942 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87942 | alexander.belopolsky | 2011-01-11 16:44:00 -0500 (Tue, 11 Jan 2011) | 3 lines
Issue #5109: array.array constructor will now use fast code when
initial data is provided in an array object with correct type.
........
Alexander Belopolsky [Tue, 11 Jan 2011 15:35:23 +0000 (15:35 +0000)]
Merged revisions 82547 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82547 | alexander.belopolsky | 2010-07-04 13:00:20 -0400 (Sun, 04 Jul 2010) | 3 lines
Issue #9118: help(None) will now return NoneType doc instead of
starting interactive help.
........
Éric Araujo [Tue, 11 Jan 2011 12:22:14 +0000 (12:22 +0000)]
Synchronize maintainers file
Terry Reedy [Tue, 11 Jan 2011 00:07:12 +0000 (00:07 +0000)]
Issue #10875: Update Regular Expression HOWTO; additional backport with 2.7 modification.
Terry Reedy [Mon, 10 Jan 2011 22:15:19 +0000 (22:15 +0000)]
Issue #10875: Update Regular Expression HOWTO; patch by 'SilentGhost'.
Georg Brandl [Sun, 9 Jan 2011 09:33:24 +0000 (09:33 +0000)]
Blocked revisions 87891 via svnmerge
........
r87891 | georg.brandl | 2011-01-09 10:31:01 +0100 (So, 09 Jan 2011) | 1 line
#10871: "file" does not exist anymore in Python 3. Also adapt the reprs of opened file objects.
........
Georg Brandl [Sun, 9 Jan 2011 09:33:09 +0000 (09:33 +0000)]
Merged revisions 87890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87890 | georg.brandl | 2011-01-09 10:04:08 +0100 (So, 09 Jan 2011) | 1 line
Wrap some long examples and signatures.
........
Georg Brandl [Sun, 9 Jan 2011 08:04:37 +0000 (08:04 +0000)]
Hand-port parts of r87789.
Georg Brandl [Sun, 9 Jan 2011 08:01:47 +0000 (08:01 +0000)]
Blocked revisions 87789-87790 via svnmerge
........
r87789 | georg.brandl | 2011-01-06 10:23:56 +0100 (Do, 06 Jan 2011) | 1 line
Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
........
r87790 | georg.brandl | 2011-01-06 10:25:27 +0100 (Do, 06 Jan 2011) | 1 line
Add acks where acks are due.
........
Georg Brandl [Sun, 9 Jan 2011 08:00:33 +0000 (08:00 +0000)]
Merged revisions 87791 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87791 | georg.brandl | 2011-01-06 11:05:26 +0100 (Do, 06 Jan 2011) | 1 line
#10844: update copyright years in Mac plists.
........
Georg Brandl [Sun, 9 Jan 2011 07:58:45 +0000 (07:58 +0000)]
Merged revisions 87807,87820,87831,87859 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87807 | georg.brandl | 2011-01-06 20:28:18 +0100 (Do, 06 Jan 2011) | 1 line
#10846: fix typo.
........
r87820 | georg.brandl | 2011-01-07 19:28:45 +0100 (Fr, 07 Jan 2011) | 1 line
#10856: document (Base)Exception.args better.
........
r87831 | georg.brandl | 2011-01-07 21:58:25 +0100 (Fr, 07 Jan 2011) | 1 line
Fix indent.
........
r87859 | georg.brandl | 2011-01-08 10:45:43 +0100 (Sa, 08 Jan 2011) | 1 line
#10855: document close() semantics of wave objects.
........
Georg Brandl [Sun, 9 Jan 2011 07:55:47 +0000 (07:55 +0000)]
Blocked revisions 86882 via svnmerge
........
r86882 | georg.brandl | 2010-11-30 09:20:16 +0100 (Di, 30 Nov 2010) | 1 line
Fix input type for zlib.
........
Georg Brandl [Sun, 9 Jan 2011 07:54:52 +0000 (07:54 +0000)]
Blocked revisions 87870 via svnmerge
........
r87870 | georg.brandl | 2011-01-08 22:04:25 +0100 (Sa, 08 Jan 2011) | 1 line
zlib only works with bytes objects.
........
Georg Brandl [Sun, 9 Jan 2011 07:53:14 +0000 (07:53 +0000)]
Merged revisions 87876-87877 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87876 | georg.brandl | 2011-01-09 08:38:51 +0100 (So, 09 Jan 2011) | 1 line
#10869: do not visit root node twice in ast.increment_lineno().
........
r87877 | georg.brandl | 2011-01-09 08:50:48 +0100 (So, 09 Jan 2011) | 1 line
Add missing line.
........
Georg Brandl [Sun, 9 Jan 2011 07:51:15 +0000 (07:51 +0000)]
Remove duplicate entry.
R. David Murray [Sun, 9 Jan 2011 03:02:04 +0000 (03:02 +0000)]
Merged revisions 87873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87873 | r.david.murray | 2011-01-08 21:35:24 -0500 (Sat, 08 Jan 2011) | 12 lines
#5871: protect against header injection attacks.
This makes Header.encode throw a HeaderParseError if it winds up
formatting a header such that a continuation line has no leading
whitespace and looks like a header. Since Header accepts values
containing newlines and preserves them (and this is by design), without
this fix any program that took user input (say, a subject in a web form)
and passed it to the email package as a header was vulnerable to header
injection attacks. (As far as we know this has never been exploited.)
Thanks to Jakub Wilk for reporting this vulnerability.
........
Raymond Hettinger [Sat, 8 Jan 2011 23:50:39 +0000 (23:50 +0000)]
Issue 10357: Clarify what it means to be a mapping.
Antoine Pitrou [Sat, 8 Jan 2011 10:32:51 +0000 (10:32 +0000)]
Merged revisions 87861,87863 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87861 | antoine.pitrou | 2011-01-08 11:23:29 +0100 (sam., 08 janv. 2011) | 3 lines
Fix test_ssl after r87849
........
r87863 | antoine.pitrou | 2011-01-08 11:28:11 +0100 (sam., 08 janv. 2011) | 3 lines
Add EHOSTUNREACH ('No route to host') to the errnos trapped by transient_internet().
........
R. David Murray [Fri, 7 Jan 2011 23:32:46 +0000 (23:32 +0000)]
Blocked revisions 87840 via svnmerge
........
r87840 | r.david.murray | 2011-01-07 18:25:30 -0500 (Fri, 07 Jan 2011) | 6 lines
#10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s.
This applies only when generating strings from non-RFC compliant binary
input; it makes the existing recoding behavior more consistent (ie:
now no data is lost when recoding).
........
Antoine Pitrou [Fri, 7 Jan 2011 21:49:44 +0000 (21:49 +0000)]
Merged revisions 87834 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87834 | antoine.pitrou | 2011-01-07 22:43:59 +0100 (ven., 07 janv. 2011) | 5 lines
Issue #8020: Avoid a crash where the small objects allocator would read
non-Python managed memory while it is being modified by another thread.
Patch by Matt Bandy.
........
Antoine Pitrou [Thu, 6 Jan 2011 18:30:26 +0000 (18:30 +0000)]
Merged revisions 87802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87802 | antoine.pitrou | 2011-01-06 19:25:55 +0100 (jeu., 06 janv. 2011) | 6 lines
Issue #7858: Raise an error properly when os.utime() fails under Windows
on an existing file.
(this does not seem to be easily testable)
........
David Malcolm [Thu, 6 Jan 2011 17:39:24 +0000 (17:39 +0000)]
Merged revisions 87796 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87796 | david.malcolm | 2011-01-06 12:01:36 -0500 (Thu, 06 Jan 2011) | 6 lines
Issue #10655: Fix the build on PowerPC on Linux with GCC when building with
timestamp profiling (--with-tsc): the preprocessor test for the PowerPC
support now looks for "__powerpc__" as well as "__ppc__": the latter seems to
only be present on OS X; the former is the correct one for Linux with GCC.
........
Antoine Pitrou [Thu, 6 Jan 2011 17:19:05 +0000 (17:19 +0000)]
Merged revisions 87797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87797 | antoine.pitrou | 2011-01-06 18:17:04 +0100 (jeu., 06 janv. 2011) | 4 lines
Issue #3839: wsgiref should not override a Content-Length header set by
the application. Initial patch by Clovis Fabricio.
........
Antoine Pitrou [Thu, 6 Jan 2011 16:35:14 +0000 (16:35 +0000)]
Merged revisions 87792 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87792 | antoine.pitrou | 2011-01-06 17:31:28 +0100 (jeu., 06 janv. 2011) | 3 lines
Elaborate about the GIL.
........
Antoine Pitrou [Wed, 5 Jan 2011 18:41:13 +0000 (18:41 +0000)]
Merged revisions 87762 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87762 | antoine.pitrou | 2011-01-05 19:37:22 +0100 (mer., 05 janv. 2011) | 3 lines
Issue #5485: Add doc for expat.xmlparser.SetParamEntityParsing.
........
R. David Murray [Wed, 5 Jan 2011 01:50:00 +0000 (01:50 +0000)]
Blocked revisions 87750 via svnmerge
........
r87750 | r.david.murray | 2011-01-04 20:39:32 -0500 (Tue, 04 Jan 2011) | 5 lines
#10790: make append work when output codec is different from input codec
There's still a bug here (the encode call shouldn't use the 'errors'
paramter), but I'll fix that later.
........
Daniel Stutzbach [Tue, 4 Jan 2011 18:47:17 +0000 (18:47 +0000)]
Fix typo
Gregory P. Smith [Tue, 4 Jan 2011 18:43:54 +0000 (18:43 +0000)]
backport fix from r87741 related to the issue6643 fix in r87727.
Gregory P. Smith [Tue, 4 Jan 2011 01:10:08 +0000 (01:10 +0000)]
Merged revisions 87710 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87710 | gregory.p.smith | 2011-01-03 13:06:12 -0800 (Mon, 03 Jan 2011) | 4 lines
issue6643 - Two locks held within the threading module on each thread instance
needed to be reinitialized after fork(). Adds tests to confirm that they are
and that a potential deadlock and crasher bug are fixed (platform dependant).
........
This required a bit more fiddling for 2.x as __block and __started are __
private as well as the __started Event's __cond. A new "private"
_reset_internal_locks() method is added to Thread and _Event objects to
address this.
Antoine Pitrou [Tue, 4 Jan 2011 00:32:11 +0000 (00:32 +0000)]
Merged revisions 87721 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87721 | antoine.pitrou | 2011-01-04 01:24:03 +0100 (mar., 04 janv. 2011) | 3 lines
Issue #10267: Fix refleak in test_ttk_guionly. Patch by Hirokazu Yamamoto.
........
Victor Stinner [Mon, 3 Jan 2011 22:35:43 +0000 (22:35 +0000)]
Recorded merge of revisions 85881,85897,85899 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85881 | victor.stinner | 2010-10-28 13:20:31 +0200 (jeu., 28 oct. 2010) | 2 lines
test_pep277: add identifiers to filenames
........
r85897 | victor.stinner | 2010-10-29 00:57:03 +0200 (ven., 29 oct. 2010) | 5 lines
test_pep277: disable filenames 11, 12, 13, 14 on darwin
Because darwin "normalizes" these filenames differently than Python's NFD
normalization.
........
r85899 | victor.stinner | 2010-10-29 01:14:45 +0200 (ven., 29 oct. 2010) | 4 lines
#10209, test_pep277: disable test_normalize and test_listdir on darwin
These tests are irrevelant on this OS.
........
Antoine Pitrou [Mon, 3 Jan 2011 20:51:04 +0000 (20:51 +0000)]
Ignore pgen.stamp.
Antoine Pitrou [Mon, 3 Jan 2011 20:49:01 +0000 (20:49 +0000)]
Merged revisions 87704-87705 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87704 | antoine.pitrou | 2011-01-03 21:38:52 +0100 (lun., 03 janv. 2011) | 5 lines
Issue #6293: Have regrtest.py echo back sys.flags. This is done by default
in whole runs and enabled selectively using `--header` when running an
explicit list of tests. Original patch by Collin Winter.
........
r87705 | antoine.pitrou | 2011-01-03 21:40:07 +0100 (lun., 03 janv. 2011) | 3 lines
Mention --randseed in option list
........
Antoine Pitrou [Mon, 3 Jan 2011 19:11:32 +0000 (19:11 +0000)]
Merged revisions 84068,87558 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84068 | martin.v.loewis | 2010-08-15 17:47:25 +0200 (dim., 15 août 2010) | 2 lines
Don't run pgen twice when using make -j.
........
r87558 | victor.stinner | 2010-12-29 00:14:17 +0100 (mer., 29 déc. 2010) | 1 line
Don't ignore pgen error (on "make Parser/pgen.stamp")
........
Antoine Pitrou [Mon, 3 Jan 2011 18:57:14 +0000 (18:57 +0000)]
Merged revisions 87698 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87698 | antoine.pitrou | 2011-01-03 19:53:50 +0100 (lun., 03 janv. 2011) | 4 lines
Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
the configure script but use $GREP instead. Patch by Fabian Groffen.
........
Antoine Pitrou [Mon, 3 Jan 2011 18:45:09 +0000 (18:45 +0000)]
Merged revisions 87695 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87695 | antoine.pitrou | 2011-01-03 19:23:55 +0100 (lun., 03 janv. 2011) | 5 lines
Issue #10806, issue #9905: Fix subprocess pipes when some of the standard
file descriptors (0, 1, 2) are closed in the parent process. Initial
patch by Ross Lagerwall.
........
Éric Araujo [Mon, 3 Jan 2011 17:57:29 +0000 (17:57 +0000)]
Merged revisions 87691 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87691 | eric.araujo | 2011-01-03 18:51:11 +0100 (lun., 03 janv. 2011) | 2 lines
Fix test_site for systems without unsetenv. Reported by Zsolt Cserna.
........
Alexander Belopolsky [Mon, 3 Jan 2011 17:52:03 +0000 (17:52 +0000)]
Issue 10814: time.asctime test will now use a valid day with out of range year.
Raymond Hettinger [Mon, 3 Jan 2011 08:59:18 +0000 (08:59 +0000)]
Backport r87672 and r87615, improving tests, using super() instead of direct parent references, and using __reduce__ method for pickling.
Amaury Forgeot d'Arc [Mon, 3 Jan 2011 00:50:57 +0000 (00:50 +0000)]
Merged revisions 87666 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87666 | amaury.forgeotdarc | 2011-01-03 01:19:11 +0100 (lun., 03 janv. 2011) | 4 lines
#8278: In the Windows implementation of stat() and utime(),
use time_t instead of int. This gives support for dates after 2038,
at least when compiled with VS2003 or later, where time_t is 64bit.
........
Alexander Belopolsky [Sun, 2 Jan 2011 23:23:54 +0000 (23:23 +0000)]
Merged revisions 87648,87656 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87648 | alexander.belopolsky | 2011-01-02 15:48:22 -0500 (Sun, 02 Jan 2011) | 1 line
Issue #8013: Fixed time.asctime segfault when OS's asctime fails
........
r87656 | alexander.belopolsky | 2011-01-02 17:16:10 -0500 (Sun, 02 Jan 2011) | 1 line
Issue #8013: Fixed test
........
Antoine Pitrou [Sun, 2 Jan 2011 22:39:10 +0000 (22:39 +0000)]
Merged revisions 87653-87655 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87653 | antoine.pitrou | 2011-01-02 23:06:53 +0100 (dim., 02 janv. 2011) | 3 lines
Clarify behaviour of close() and shutdown() on sockets.
........
r87654 | antoine.pitrou | 2011-01-02 23:09:27 +0100 (dim., 02 janv. 2011) | 3 lines
Add a shutdown() call in the server example.
........
r87655 | antoine.pitrou | 2011-01-02 23:12:22 +0100 (dim., 02 janv. 2011) | 3 lines
Some nits.
........
Antoine Pitrou [Sun, 2 Jan 2011 20:51:34 +0000 (20:51 +0000)]
Merged revisions 87646 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87646 | antoine.pitrou | 2011-01-02 21:45:21 +0100 (dim., 02 janv. 2011) | 3 lines
Fix bad quoting in r87639. Caught by Arfrever.
........
Antoine Pitrou [Sun, 2 Jan 2011 20:06:12 +0000 (20:06 +0000)]
Fix indentation
Antoine Pitrou [Sun, 2 Jan 2011 20:05:11 +0000 (20:05 +0000)]
Typo
Antoine Pitrou [Sun, 2 Jan 2011 20:04:52 +0000 (20:04 +0000)]
Issue #4662: os.tempnam(), os.tmpfile() and os.tmpnam() now raise a py3k
DeprecationWarning.
Antoine Pitrou [Sun, 2 Jan 2011 19:37:45 +0000 (19:37 +0000)]
Merged revisions 87639 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87639 | antoine.pitrou | 2011-01-02 20:34:03 +0100 (dim., 02 janv. 2011) | 4 lines
Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD. Patch by Nicolas Joly.
........
Georg Brandl [Sun, 2 Jan 2011 14:20:16 +0000 (14:20 +0000)]
#10804: fix copy-paste error when checking assigned fields for NULL.
Raymond Hettinger [Sun, 2 Jan 2011 01:03:26 +0000 (01:03 +0000)]
Raymond-Hettingers-MacBook-Pro:py27 raymondhettinger$ cat svn-commit.tmp
Backport r87594 r87611 and r87612 so that OrderedDict subclassing behavior
better matches dict subclassing (i.e. adding __missing__ works and
extending/overriding the update() methods doesn't break __init__()).
Benjamin Peterson [Sat, 1 Jan 2011 14:30:24 +0000 (14:30 +0000)]
Merged revisions 87607 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87607 | benjamin.peterson | 2011-01-01 08:28:31 -0600 (Sat, 01 Jan 2011) | 1 line
update copyright to 2011
........
Terry Reedy [Sat, 1 Jan 2011 02:32:46 +0000 (02:32 +0000)]
Issue 6285: catch missing IDLE help file. Backport from 3.2.
Terry Reedy [Sat, 1 Jan 2011 00:36:18 +0000 (00:36 +0000)]
Issue 10789: Correct threading.Lock.acquire signature.
R. David Murray [Fri, 31 Dec 2010 19:31:48 +0000 (19:31 +0000)]
Merged revisions 83089,87590 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83089 | brett.cannon | 2010-07-23 09:54:14 -0400 (Fri, 23 Jul 2010) | 4 lines
Test calendar.monthrange.
Closes issue 9342. Thanks John Chandler for the patch.
........
r87590 | r.david.murray | 2010-12-31 14:21:14 -0500 (Fri, 31 Dec 2010) | 4 lines
#9361: add some tests for calendar.leapdays
Patch by John Chandler.
........
R. David Murray [Wed, 29 Dec 2010 16:59:09 +0000 (16:59 +0000)]
Blocked revisions 87567 via svnmerge
........
r87567 | r.david.murray | 2010-12-29 11:57:24 -0500 (Wed, 29 Dec 2010) | 2 lines
Fix a comment typo and update another comment to match Python3 reality
........
Senthil Kumaran [Wed, 29 Dec 2010 06:30:19 +0000 (06:30 +0000)]
Merged revisions 87564 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87564 | senthil.kumaran | 2010-12-29 14:25:42 +0800 (Wed, 29 Dec 2010) | 3 lines
Fix Issue 10753 - Don't quote ;=, in the PATH_INFO envvar.
........
Terry Reedy [Tue, 28 Dec 2010 19:53:32 +0000 (19:53 +0000)]
Issue 10738: Fix webbrowser.Opera.raise_opts value.
R. David Murray [Tue, 28 Dec 2010 19:11:03 +0000 (19:11 +0000)]
Merged revisions 87550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87550 | r.david.murray | 2010-12-28 13:54:13 -0500 (Tue, 28 Dec 2010) | 8 lines
#9824: encode , and ; in cookie values so that browsers don't split on them
There is a small chance of backward incompatibility here, but only for
non-SimpleCookie applications reading SimpleCookie generated cookies. Even
then, any such ap is likely to be handling escaped values already, and it would
take a fairly perverse implementation of unescaping to fail to unescape these
newly escaped chars, so the risk seems minimal.
........