]>
granicus.if.org Git - python/log
Terry Reedy [Mon, 24 Jan 2011 21:46:05 +0000 (21:46 +0000)]
Issue #11000 ast.parse doc fix (r88172) + tix fix (r88170)
Antoine Pitrou [Sun, 23 Jan 2011 17:21:28 +0000 (17:21 +0000)]
Merged revisions 88147 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88147 | antoine.pitrou | 2011-01-23 18:12:25 +0100 (dim., 23 janv. 2011) | 3 lines
Issue #10987: Fix the recursion limit handling in the _pickle module.
........
Vinay Sajip [Fri, 21 Jan 2011 23:35:57 +0000 (23:35 +0000)]
Issue #10949: Improved robustness of rotating file handlers.
Antoine Pitrou [Fri, 21 Jan 2011 21:39:56 +0000 (21:39 +0000)]
Merged revisions 88137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88137 | antoine.pitrou | 2011-01-21 22:37:32 +0100 (ven., 21 janv. 2011) | 3 lines
Fix JSON docs about loads() accepting only str objects, not bytes.
........
Antoine Pitrou [Thu, 20 Jan 2011 21:11:13 +0000 (21:11 +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.
........
Antoine Pitrou [Wed, 19 Jan 2011 15:26:37 +0000 (15:26 +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:09 +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 05:00:40 +0000 (05:00 +0000)]
Merged revisions 88007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88007 | ned.deily | 2011-01-14 21:44:21 -0800 (Fri, 14 Jan 2011) | 5 lines
Remove spurious copy of Mac/IDLE/idlemain.py left over from
conversion from Python 2 build process. The correct version
is in Mac/IDLE/IDLE.app/Contents/Resources/
........
Ned Deily [Tue, 18 Jan 2011 01:43:26 +0000 (01:43 +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:52:55 +0000 (23:52 +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 20:03:01 +0000 (20:03 +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:46:48 +0000 (19:46 +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:36:44 +0000 (19:36 +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.
........
Georg Brandl [Mon, 17 Jan 2011 18:16:16 +0000 (18:16 +0000)]
Markup fix.
Antoine Pitrou [Sat, 15 Jan 2011 17:31:19 +0000 (17:31 +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:37 +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:19:53 +0000 (14:19 +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 [Sat, 15 Jan 2011 10:33:07 +0000 (10:33 +0000)]
Merged revisions 88009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r88009 | eli.bendersky | 2011-01-15 12:23:34 +0200 (Sat, 15 Jan 2011) | 2 lines
Issue #10912: Clarify the documentation of PyObject_RichCompareBool. Thanks to Devin Jeanpierre for spotting the problem.
........
Antoine Pitrou [Fri, 14 Jan 2011 20:19:57 +0000 (20:19 +0000)]
Merged revisions 87968,87971-87975 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87968 | antoine.pitrou | 2011-01-12 21:46:37 +0100 (mer., 12 janv. 2011) | 4 lines
Fix the expected memory use of utf-8 encoding. Also, release the
one reference to a huge object even when an exception is raised.
........
r87971 | antoine.pitrou | 2011-01-12 22:19:59 +0100 (mer., 12 janv. 2011) | 3 lines
Make test skipping message nicer, and remove the rather useless "overhead" parameter.
........
r87972 | antoine.pitrou | 2011-01-12 22:40:20 +0100 (mer., 12 janv. 2011) | 3 lines
Fix @bigmemtest when no limit is given by the user (oops)
........
r87973 | antoine.pitrou | 2011-01-12 22:50:44 +0100 (mer., 12 janv. 2011) | 3 lines
More informative skip message in @bigaddrspace
........
r87974 | antoine.pitrou | 2011-01-12 22:58:39 +0100 (mer., 12 janv. 2011) | 3 lines
A better message again
........
r87975 | antoine.pitrou | 2011-01-12 23:02:45 +0100 (mer., 12 janv. 2011) | 3 lines
Fix test_bigaddrspace (some tests didn't trigger the expected MemoryError)
........
Eli Bendersky [Fri, 14 Jan 2011 08:55:38 +0000 (08:55 +0000)]
Merged revisions 87993 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87993 | eli.bendersky | 2011-01-14 10:25:03 +0200 (Fri, 14 Jan 2011) | 2 lines
Issue #10902: Fix reference to run* methods
........
Eli Bendersky [Fri, 14 Jan 2011 08:52:17 +0000 (08:52 +0000)]
Merged revisions 87991 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87991 | eli.bendersky | 2011-01-14 09:31:14 +0200 (Fri, 14 Jan 2011) | 2 lines
Remove call to nonexisting function (relic from Python 2.x) under #ifdef __INSURE__. Issue 9844
........
Raymond Hettinger [Wed, 12 Jan 2011 23:52:40 +0000 (23:52 +0000)]
Backport 87978: Do not expose function type annotations in the standard library.
Raymond Hettinger [Wed, 12 Jan 2011 20:54:53 +0000 (20:54 +0000)]
Remove the funky function annotation from numbers.py.
Raymond Hettinger [Wed, 12 Jan 2011 20:46:15 +0000 (20:46 +0000)]
Remove the function annotations from _abcoll.py
Benjamin Peterson [Wed, 12 Jan 2011 19:29:51 +0000 (19:29 +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:02:36 +0000 (19:02 +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:50:35 +0000 (18:50 +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:42:34 +0000 (15:42 +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:51:02 +0000 (04:51 +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 15:23:22 +0000 (15:23 +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:21:37 +0000 (12:21 +0000)]
Synchronize maintainers file
Terry Reedy [Mon, 10 Jan 2011 23:16:24 +0000 (23:16 +0000)]
Issue #10875: Update Regular Expression HOWTO; additional backport.
Terry Reedy [Mon, 10 Jan 2011 21:49:11 +0000 (21:49 +0000)]
Issue #10875: Update Regular Expression HOWTO; patch by 'SilentGhost'.
Georg Brandl [Sun, 9 Jan 2011 09:33:18 +0000 (09:33 +0000)]
Blocked revisions 87890-87891 via svnmerge
........
r87890 | georg.brandl | 2011-01-09 10:04:08 +0100 (So, 09 Jan 2011) | 1 line
Wrap some long examples and signatures.
........
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 08:01:46 +0000 (08:01 +0000)]
Merged revisions 87789-87790 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
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 07:59:59 +0000 (07:59 +0000)]
Merged revisions 87791 via svnmerge from
svn+ssh://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:59:02 +0000 (07:59 +0000)]
Merged revisions 87807,87820,87831,87859,87870 via svnmerge from
svn+ssh://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.
........
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:55:46 +0000 (07:55 +0000)]
Merged revisions 87876-87877 via svnmerge from
svn+ssh://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.
........
R. David Murray [Sun, 9 Jan 2011 02:48:04 +0000 (02:48 +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.
........
Antoine Pitrou [Sat, 8 Jan 2011 10:31:09 +0000 (10:31 +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().
........
Georg Brandl [Sat, 8 Jan 2011 09:18:55 +0000 (09:18 +0000)]
Merged revisions 86882 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r86882 | georg.brandl | 2010-11-30 09:20:16 +0100 (Di, 30 Nov 2010) | 1 line
Fix input type for zlib.
........
R. David Murray [Fri, 7 Jan 2011 23:31:57 +0000 (23:31 +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:25 +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:29:05 +0000 (18:29 +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:36:32 +0000 (17:36 +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:18:32 +0000 (17:18 +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:34:50 +0000 (16:34 +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 [Thu, 6 Jan 2011 07:17:30 +0000 (07:17 +0000)]
Merged revisions 87784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87784 | antoine.pitrou | 2011-01-06 08:16:31 +0100 (jeu., 06 janv. 2011) | 3 lines
Issue #10840: make it explicit that "s*" and friends provide contiguous memory.
........
Antoine Pitrou [Wed, 5 Jan 2011 21:20:28 +0000 (21:20 +0000)]
Merged revisions 87769 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87769 | antoine.pitrou | 2011-01-05 22:17:36 +0100 (mer., 05 janv. 2011) | 3 lines
Overhaul the documentation about socket timeouts.
........
Antoine Pitrou [Wed, 5 Jan 2011 18:41:10 +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:47:38 +0000 (01:47 +0000)]
Merged revisions 87750 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
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.
........
Raymond Hettinger [Tue, 4 Jan 2011 20:57:19 +0000 (20:57 +0000)]
Backport r87613 to make OrderedDict subclassing match dict subclassing.
Gregory P. Smith [Tue, 4 Jan 2011 18:42:29 +0000 (18:42 +0000)]
Merged revisions 87740 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87740 | gregory.p.smith | 2011-01-04 10:33:38 -0800 (Tue, 04 Jan 2011) | 6 lines
Fix the new bug introduced in the r87710 fix for issue 6643. DummyThread
deletes its _block attribute, deal with that. This prevents an uncaught
exception in a thread during test_thread.
This refactors a bit to better match what I did in the r87727 backport to 2.7.
........
Gregory P. Smith [Tue, 4 Jan 2011 00:51:50 +0000 (00:51 +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).
........
Antoine Pitrou [Tue, 4 Jan 2011 00:32:18 +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.
........
Antoine Pitrou [Mon, 3 Jan 2011 20:50:26 +0000 (20:50 +0000)]
Ignore pgen.stamp
Antoine Pitrou [Mon, 3 Jan 2011 20:47:02 +0000 (20:47 +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:48 +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:56:50 +0000 (18:56 +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:36:36 +0000 (18:36 +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:53:13 +0000 (17:53 +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:06:39 +0000 (17:06 +0000)]
Issue 10814: time.asctime test will now use a valid day with out of range year.
Raymond Hettinger [Mon, 3 Jan 2011 08:50:48 +0000 (08:50 +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:40:04 +0000 (00:40 +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:09:41 +0000 (23:09 +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
........
Georg Brandl [Sun, 2 Jan 2011 22:55:12 +0000 (22:55 +0000)]
#10810: fix missing import.
Antoine Pitrou [Sun, 2 Jan 2011 22:35:59 +0000 (22:35 +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:49:42 +0000 (20:49 +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 19:38:30 +0000 (19:38 +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.
........
Benjamin Peterson [Sat, 1 Jan 2011 15:32:26 +0000 (15:32 +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:28:54 +0000 (02:28 +0000)]
Issue 6285: catch missing IDLE help file.
Terry Reedy [Sat, 1 Jan 2011 00:29:59 +0000 (00:29 +0000)]
Issue 10789: Correct threading.Lock.acquire signature.
R. David Murray [Fri, 31 Dec 2010 19:29:08 +0000 (19:29 +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.
........
Martin v. Löwis [Thu, 30 Dec 2010 08:37:58 +0000 (08:37 +0000)]
Merged revisions 87575 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87575 | martin.v.loewis | 2010-12-30 09:36:37 +0100 (Do, 30 Dez 2010) | 2 lines
Issue #10542: Document that identifiers use XID_Start XID_Continue*.
........
Senthil Kumaran [Thu, 30 Dec 2010 07:21:14 +0000 (07:21 +0000)]
Merged revisions 87573 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87573 | senthil.kumaran | 2010-12-30 15:07:58 +0800 (Thu, 30 Dec 2010) | 3 lines
Fix Issue10793 - hashlib documentation issue on return type of digest
........
R. David Murray [Wed, 29 Dec 2010 19:03:53 +0000 (19:03 +0000)]
Merged revisions 87567 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
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:29:58 +0000 (06:29 +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:50:27 +0000 (19:50 +0000)]
Issue 10738: Fix webbrowser.Opera.raise_opts value.
R. David Murray [Tue, 28 Dec 2010 18:56:33 +0000 (18:56 +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.
........
Senthil Kumaran [Tue, 28 Dec 2010 16:10:56 +0000 (16:10 +0000)]
Merged revisions 87542 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87542 | senthil.kumaran | 2010-12-28 23:55:16 +0800 (Tue, 28 Dec 2010) | 3 lines
Fix Issue10759 - html.parser.unescape() fails on HTML entities with incorrect syntax
........
Alexander Belopolsky [Tue, 28 Dec 2010 15:42:23 +0000 (15:42 +0000)]
Merged revisions 87442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87442 | alexander.belopolsky | 2010-12-22 21:27:37 -0500 (Wed, 22 Dec 2010) | 1 line
Issue #10254: Fixed a crash and a regression introduced by the implementation of PRI 29.
........
R. David Murray [Mon, 27 Dec 2010 04:36:07 +0000 (04:36 +0000)]
Merged revisions 87508 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87508 | r.david.murray | 2010-12-26 23:31:48 -0500 (Sun, 26 Dec 2010) | 5 lines
Skip test that does not raise an error on Windows.
I'm assuming that the putative path from the malformed
pth file is simply not found and therefore ignored.
........
R. David Murray [Mon, 27 Dec 2010 00:07:32 +0000 (00:07 +0000)]
Merged revisions 87501 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87501 | r.david.murray | 2010-12-26 19:03:13 -0500 (Sun, 26 Dec 2010) | 2 lines
Escape file path before searching for it in output via regex
........
R. David Murray [Sun, 26 Dec 2010 22:24:54 +0000 (22:24 +0000)]
Merged revisions 87497 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87497 | r.david.murray | 2010-12-26 14:54:29 -0500 (Sun, 26 Dec 2010) | 7 lines
#5258/#10642: print fn, line, traceback and continue when .pth file is broken
If a .pth file contained an error, it could cause a traceback in site.py,
terminating its processing. In 2.7 and 3.2, the interpreter will then not
start. Previously, a message would print saying to use -v to get the
traceback. In either case, the traceback generated for a failed .pth file did
not include the .pth filename, making it difficult to debug the problem. Now
site.py reports not only the .pth filename but also the line number causing the
error, and just skips the remainder of the file.
........
Éric Araujo [Sun, 26 Dec 2010 17:54:27 +0000 (17:54 +0000)]
Merged revisions 87493 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87493 | eric.araujo | 2010-12-26 18:53:27 +0100 (dim., 26 déc. 2010) | 2 lines
Fix typo (#10770)
........
Éric Araujo [Sun, 26 Dec 2010 02:39:07 +0000 (02:39 +0000)]
Merged revisions 87489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87489 | eric.araujo | 2010-12-26 03:38:05 +0100 (dim., 26 déc. 2010) | 2 lines
Remove unexistent parameter (#3216)
........
Éric Araujo [Sun, 26 Dec 2010 02:21:30 +0000 (02:21 +0000)]
Merged revisions 87486 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87486 | eric.araujo | 2010-12-26 03:18:49 +0100 (dim., 26 déc. 2010) | 2 lines
Fix typo spotted by Rodrigo Bernardo Pimentel (#9891)
........
R. David Murray [Fri, 24 Dec 2010 22:41:22 +0000 (22:41 +0000)]
Blocked revisions 87479 via svnmerge
........
r87479 | r.david.murray | 2010-12-24 17:36:49 -0500 (Fri, 24 Dec 2010) | 8 lines
#
1693546 : don't add quotes around RFC 2231 encoded values.
The RFC is bit hard to understand on this point, but the examples
clearly show that parameter values that are encoded according
to its charset/language rules don't have surrounding quotes, and
the ABNF does not allow for quotes. So when we produce such
encoded values, we no longer add quotes.
........
Alexander Belopolsky [Fri, 24 Dec 2010 00:29:04 +0000 (00:29 +0000)]
Merged revisions 87463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87463 | alexander.belopolsky | 2010-12-23 19:24:11 -0500 (Thu, 23 Dec 2010) | 1 line
Issue #9063: Corrected the tzinfo example.
........
Benjamin Peterson [Thu, 23 Dec 2010 22:20:16 +0000 (22:20 +0000)]
Merged revisions 87455 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87455 | benjamin.peterson | 2010-12-23 16:17:42 -0600 (Thu, 23 Dec 2010) | 1 line
fix docstring
........
R. David Murray [Thu, 23 Dec 2010 20:37:28 +0000 (20:37 +0000)]
Blocked revisions 87451 via svnmerge
........
r87451 | r.david.murray | 2010-12-23 15:35:46 -0500 (Thu, 23 Dec 2010) | 4 lines
#
1155362 : allow hh:mm:ss-uuuu like we allow hh:mm:ss+uuuu in parsedate_tz
Original patch by Thomas Herve.
........
R. David Murray [Thu, 23 Dec 2010 19:47:37 +0000 (19:47 +0000)]
Merged revisions 87448 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87448 | r.david.murray | 2010-12-23 14:44:49 -0500 (Thu, 23 Dec 2010) | 4 lines
#4496: remove misleading comment and note that self.handlers is obsolete.
self.handlers is still used in one urllib2 test, but not by the code iteslf.
........
Alexander Belopolsky [Thu, 23 Dec 2010 03:00:58 +0000 (03:00 +0000)]
Merged revisions 87443 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87443 | alexander.belopolsky | 2010-12-22 21:58:25 -0500 (Wed, 22 Dec 2010) | 1 line
Issue #10587: Document the meaning of str methods.
........
Alexander Belopolsky [Wed, 22 Dec 2010 01:55:15 +0000 (01:55 +0000)]
Merged revisions 87433 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87433 | alexander.belopolsky | 2010-12-21 20:37:36 -0500 (Tue, 21 Dec 2010) | 3 lines
Both PEP 3131 and the current implementation use NFKC normalization
for identifiers. Fixed the documentation to agree.
........
R. David Murray [Tue, 21 Dec 2010 21:57:54 +0000 (21:57 +0000)]
Merged revisions 87430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87430 | r.david.murray | 2010-12-21 16:53:37 -0500 (Tue, 21 Dec 2010) | 9 lines
#4871: check that zipfile password is bytes, and give useful error message.
Previously passing a string in as the password would fail either with
an assertion error or a TypeError with a confusing error message.
Note that a string can't be accepted since zipfile has no way to
guess what encoding should be used to turn it into bytes.
Patch by Victor Stinner.
........
Antoine Pitrou [Tue, 21 Dec 2010 21:26:09 +0000 (21:26 +0000)]
Merged revisions 87427 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87427 | antoine.pitrou | 2010-12-21 22:20:59 +0100 (mar., 21 déc. 2010) | 3 lines
Issue #10750: The `raw` attribute of buffered IO objects is now read-only.
........
Antoine Pitrou [Tue, 21 Dec 2010 18:56:38 +0000 (18:56 +0000)]
Merged revisions 87421 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87421 | antoine.pitrou | 2010-12-21 19:49:01 +0100 (mar., 21 déc. 2010) | 4 lines
Suggest sys.maxsize as a reliable way to know whether the interpreter is 64-bit.
(part of #10735)
........
R. David Murray [Tue, 21 Dec 2010 18:26:10 +0000 (18:26 +0000)]
Blocked revisions 87418 via svnmerge
........
r87418 | r.david.murray | 2010-12-21 13:24:33 -0500 (Tue, 21 Dec 2010) | 10 lines
Make test_compileall more robust by using -S to keep sys.path minimized.
Try this again, hopefully the right way this time.
Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo
install because it was tyring to write .pyc files to a read-only system
directory during test_no_args_compiles_path. Having the tests call python
with -S should eliminate the system directories from the path.
........
R. David Murray [Tue, 21 Dec 2010 18:11:01 +0000 (18:11 +0000)]
Merged revisions 87415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87415 | r.david.murray | 2010-12-21 13:07:59 -0500 (Tue, 21 Dec 2010) | 4 lines
Fix the change made for issue
1243654 .
Surprisingly, it turns out there was no test that exercised this code path.
........
R. David Murray [Mon, 20 Dec 2010 19:05:57 +0000 (19:05 +0000)]
Blocked revisions 87411 via svnmerge
........
r87411 | r.david.murray | 2010-12-20 14:04:51 -0500 (Mon, 20 Dec 2010) | 2 lines
Revert incorrect patch made at the wrong time.
........