]>
granicus.if.org Git - python/log
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.
........
R. David Murray [Mon, 20 Dec 2010 18:10:51 +0000 (18:10 +0000)]
Blocked revisions 87408 via svnmerge
........
r87408 | r.david.murray | 2010-12-20 13:08:59 -0500 (Mon, 20 Dec 2010) | 8 lines
Make test_compileall more robust by using -S to keep sys.path minimized.
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 subprocess call python
with -S should eliminate the system directories from the path.
........
R. David Murray [Sat, 18 Dec 2010 19:41:50 +0000 (19:41 +0000)]
Merged revisions 87027 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87027 | gregory.p.smith | 2010-12-04 06:36:58 -0500 (Sat, 04 Dec 2010) | 3 lines
issue10622: fix superflous scrollbar on the right side of <pre> boxes in the
generated html docs. visible in chrome, possibly other webkit browsers.
........
R. David Murray [Sat, 18 Dec 2010 18:32:19 +0000 (18:32 +0000)]
Blocked revisions 87384 via svnmerge
........
r87384 | r.david.murray | 2010-12-18 13:25:38 -0500 (Sat, 18 Dec 2010) | 12 lines
#9286: Fix the rfc822 parser to preserve whitespace in address local part.
Such addresses are not RFC compliant except under the 'obsolete syntax'
rules, but before this fix the whitespace was dropped from the input,
concatenating the pieces. That breaks one of the principles of the
email package, that of preserving the input as much as possible.
It also denies the application program the opportunity to apply its
own heuristics to interpretation of such non-compliant addresses.
It is possible users of the email package were depending on the local
part always being a single token, so this fix will not be backported.
........
Antoine Pitrou [Sat, 18 Dec 2010 18:04:38 +0000 (18:04 +0000)]
Merged revisions 87373,87381 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87373 | senthil.kumaran | 2010-12-18 17:55:23 +0100 (sam., 18 déc. 2010) | 3 lines
Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by Antoine Pitrou
........
r87381 | antoine.pitrou | 2010-12-18 18:59:18 +0100 (sam., 18 déc. 2010) | 3 lines
NEWS entry for r87373
........
Ezio Melotti [Sat, 18 Dec 2010 17:55:43 +0000 (17:55 +0000)]
Merged revisions 87377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87377 | ezio.melotti | 2010-12-18 18:31:58 +0100 (Sat, 18 Dec 2010) | 1 line
Use lowercase true/false in assertTrue/assertFalse messages.
........
R. David Murray [Sat, 18 Dec 2010 17:21:30 +0000 (17:21 +0000)]
Merged revisions 87374 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87374 | r.david.murray | 2010-12-18 12:19:10 -0500 (Sat, 18 Dec 2010) | 8 lines
#10404: Use ctl-button-1 for context menus on OSX Idle.
This provides access to the context menus where they previously could
not be accessed due to the way OSX Tk binds buttons. It also
improves platform consistency.
Patch by Ned Deily.
........
Ezio Melotti [Sat, 18 Dec 2010 15:06:45 +0000 (15:06 +0000)]
Merged revisions 87368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87368 | ezio.melotti | 2010-12-18 15:59:43 +0100 (Sat, 18 Dec 2010) | 1 line
#5587: add a repr to dict_proxy objects. Patch by David Stanek and Daniel Urban.
........
R. David Murray [Sat, 18 Dec 2010 03:50:46 +0000 (03:50 +0000)]
Blocked revisions 87356 via svnmerge
........
r87356 | r.david.murray | 2010-12-17 22:48:32 -0500 (Fri, 17 Dec 2010) | 11 lines
#9907: call rl_initialize early when using editline on OSX
editline rl_initialize apparently discards any mappings done before it
is called, which makes tab revert to file completion instead of inserting
a tab. So now on OSX we call rl_initialize first if we are using
readline, and then re-read the users .editrc (if any) afterward so they
can still override our defaults.
Patch by Ned Deily, modified by Ronald Oussoren.
........
Antoine Pitrou [Fri, 17 Dec 2010 17:44:45 +0000 (17:44 +0000)]
Merged revisions 87341 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87341 | antoine.pitrou | 2010-12-17 18:42:16 +0100 (ven., 17 déc. 2010) | 4 lines
Issue #4188: Avoid creating dummy thread objects when logging operations
from the threading module (with the internal verbose flag activated).
........
Senthil Kumaran [Fri, 17 Dec 2010 04:54:43 +0000 (04:54 +0000)]
Merged revisions 87329 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87329 | senthil.kumaran | 2010-12-17 12:48:45 +0800 (Fri, 17 Dec 2010) | 3 lines
Fix Issue9721 - urljoin behavior when the relative url starts with ';'
........
R. David Murray [Thu, 16 Dec 2010 19:10:16 +0000 (19:10 +0000)]
Blocked revisions 87324 via svnmerge
........
r87324 | r.david.murray | 2010-12-16 14:08:51 -0500 (Thu, 16 Dec 2010) | 9 lines
#10719: restore messages generated on invalid compileall args
Before the introduction of filename arguments to compileall it gave semi useful
messages about not being able to 'list' names that weren't valid directories.
This fix restores that behavior. In addition to the test for this case, the
patch also adds a test for the default behavior of compileall when no arguments
are provided, and fixes a bug in one of the previously added tests.
........
Antoine Pitrou [Thu, 16 Dec 2010 17:17:40 +0000 (17:17 +0000)]
svnmerge fooled me. That test class already existed.
Antoine Pitrou [Thu, 16 Dec 2010 17:05:26 +0000 (17:05 +0000)]
Forgot to enable this test
Antoine Pitrou [Thu, 16 Dec 2010 17:03:16 +0000 (17:03 +0000)]
Merged revisions 87317 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87317 | antoine.pitrou | 2010-12-16 17:48:36 +0100 (jeu., 16 déc. 2010) | 4 lines
Issue #10714: Limit length of incoming request in http.server to 65536 bytes
for security reasons. Initial patch by Ross Lagerwall.
........
(also backport some tests)
Éric Araujo [Thu, 16 Dec 2010 06:30:42 +0000 (06:30 +0000)]
Blocked revisions 87312 via svnmerge
........
r87312 | eric.araujo | 2010-12-16 07:28:48 +0100 (jeu., 16 déc. 2010) | 2 lines
Add missing docs and directives related to PEP 3147 and byte-compilation
........
Brian Curtin [Thu, 16 Dec 2010 03:27:11 +0000 (03:27 +0000)]
Merged revisions 87306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87306 | brian.curtin | 2010-12-15 21:24:49 -0600 (Wed, 15 Dec 2010) | 2 lines
EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here.
........
Éric Araujo [Thu, 16 Dec 2010 03:16:29 +0000 (03:16 +0000)]
Merged revisions 86521,86632,86823-86824,87294,87296,87300,87302 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86521 | eric.araujo | 2010-11-18 17:38:46 +0100 (jeu., 18 nov. 2010) | 17 lines
Fix usage of :option: in the docs (#9312).
:option: is used to create a link to an option of python, not to mark
up any instance of any arbitrary command-line option. These were
changed to ````.
For modules which do have a command-line interface, lists of options
have been properly marked up with the program/cmdoption directives
combo. Options defined in such blocks can be linked to with :option:
later in the same file, they won’t link to an option of python.
Finally, the markup of command-line fragments in optparse.rst has
been cleaned to use ``x`` instead of ``"x"``, keeping that latter
form for actual Python strings.
Patch by Eli Bendersky and Éric Araujo.
........
r86632 | eric.araujo | 2010-11-21 04:09:17 +0100 (dim., 21 nov. 2010) | 2 lines
Style edits in followup to r86521 (#9312)
........
r86823 | eric.araujo | 2010-11-27 00:31:07 +0100 (sam., 27 nov. 2010) | 2 lines
Use link-generating markup (see #9312)
........
r86824 | eric.araujo | 2010-11-27 00:46:18 +0100 (sam., 27 nov. 2010) | 2 lines
Rewrap long lines + minor edits
........
r87294 | eric.araujo | 2010-12-16 01:07:01 +0100 (jeu., 16 déc. 2010) | 2 lines
No need to generate a link for something that’s just above.
........
r87296 | eric.araujo | 2010-12-16 01:23:30 +0100 (jeu., 16 déc. 2010) | 2 lines
Advertise “python -m” instead of direct filename.
........
r87300 | eric.araujo | 2010-12-16 02:40:26 +0100 (jeu., 16 déc. 2010) | 2 lines
Advertise “python -m test” over test.regrtest (r87296 followup)
........
r87302 | eric.araujo | 2010-12-16 03:10:11 +0100 (jeu., 16 déc. 2010) | 2 lines
Add versionadded directive missing from r78983.
........
Éric Araujo [Wed, 15 Dec 2010 22:38:50 +0000 (22:38 +0000)]
Merged revisions 87289 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87289 | eric.araujo | 2010-12-15 23:37:27 +0100 (mer., 15 déc. 2010) | 2 lines
Mark up one missed None in pkgutil.rst (#8851)
........
Éric Araujo [Wed, 15 Dec 2010 22:07:54 +0000 (22:07 +0000)]
Merged revisions 87283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87283 | eric.araujo | 2010-12-15 23:06:35 +0100 (mer., 15 déc. 2010) | 2 lines
Add disclaimer about MinGW compat in distutils docs (#6007). Patch by Chris Lambacher.
........
Éric Araujo [Wed, 15 Dec 2010 21:12:12 +0000 (21:12 +0000)]
Merged revisions 87280 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87280 | eric.araujo | 2010-12-15 22:07:22 +0100 (mer., 15 déc. 2010) | 2 lines
Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558).
........
Éric Araujo [Wed, 15 Dec 2010 20:30:51 +0000 (20:30 +0000)]
Merged revisions 87277 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87277 | eric.araujo | 2010-12-15 21:26:30 +0100 (mer., 15 déc. 2010) | 2 lines
Fix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky.
........
R. David Murray [Tue, 14 Dec 2010 23:30:42 +0000 (23:30 +0000)]
Merged revisions 87251 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87251 | r.david.murray | 2010-12-14 18:06:25 -0500 (Tue, 14 Dec 2010) | 4 lines
#4236: avoid possible Fatal Error when import is called from __del__
Patch by Simon Cross, crasher test code by Martin von Löwis.
........
R. David Murray [Tue, 14 Dec 2010 22:34:12 +0000 (22:34 +0000)]
Blocked revisions 87248 via svnmerge
........
r87248 | r.david.murray | 2010-12-14 17:32:50 -0500 (Tue, 14 Dec 2010) | 2 lines
More comprehensive compileall cli tests, and fixes.
........
Gregory P. Smith [Tue, 14 Dec 2010 18:20:45 +0000 (18:20 +0000)]
SIGCHLD is a more portable name than SIGCLD (OSX has no SIGCLD).
R. David Murray [Tue, 14 Dec 2010 16:24:18 +0000 (16:24 +0000)]
Merged revisions 87238 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87238 | r.david.murray | 2010-12-14 11:20:53 -0500 (Tue, 14 Dec 2010) | 7 lines
#775964: skip YP/NIS entries instead of failing the test
Also includes doc updates mentioning that these entries may not
be retrievable via getgrnam and getgrgid.
Patch by Bobby Impollonia.
........
Gregory P. Smith [Tue, 14 Dec 2010 15:25:20 +0000 (15:25 +0000)]
fix "BytesWarning: str() on a bytes instance"
Gregory P. Smith [Tue, 14 Dec 2010 15:16:24 +0000 (15:16 +0000)]
Merged revisions 87233 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87233 | gregory.p.smith | 2010-12-14 06:38:00 -0800 (Tue, 14 Dec 2010) | 4 lines
Issue #
1731717 : Fixed the problem where subprocess.wait() could cause an
OSError exception when The OS had been told to ignore SIGCLD in our process
or otherwise not wait for exiting child processes.
........
R. David Murray [Tue, 14 Dec 2010 14:27:27 +0000 (14:27 +0000)]
Merged revisions 87230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87230 | r.david.murray | 2010-12-14 09:16:20 -0500 (Tue, 14 Dec 2010) | 7 lines
#10695: use %s not %d so that a string 'port' does not cause a debug traceback
Passing the port as a string value works fine in regular mode, but
if you turned debug on it would throw an error trying to print the
port number, which is surprising and confusing.
........
R. David Murray [Tue, 14 Dec 2010 01:41:07 +0000 (01:41 +0000)]
Merged revisions 87225 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87225 | r.david.murray | 2010-12-13 20:38:16 -0500 (Mon, 13 Dec 2010) | 2 lines
9162: fix license in multiprocessing files
........
R. David Murray [Tue, 14 Dec 2010 01:25:30 +0000 (01:25 +0000)]
Merged revisions 87222 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87222 | r.david.murray | 2010-12-13 20:22:50 -0500 (Mon, 13 Dec 2010) | 2 lines
Use skipIf instead of a return when attribute doesn't exist.
........
R. David Murray [Mon, 13 Dec 2010 23:57:01 +0000 (23:57 +0000)]
Merged revisions 87217 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87217 | r.david.murray | 2010-12-13 18:51:19 -0500 (Mon, 13 Dec 2010) | 5 lines
#
1078919 : make add_header automatically do RFC2231 encoding when needed.
Also document the use of three-tuples if control of the charset
and language is desired.
........
Antoine Pitrou [Sun, 12 Dec 2010 21:08:54 +0000 (21:08 +0000)]
Merged revisions 87197-87198 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87197 | antoine.pitrou | 2010-12-12 21:34:49 +0100 (dim., 12 déc. 2010) | 3 lines
Homogenize the "optional OS services" menu
........
r87198 | antoine.pitrou | 2010-12-12 21:57:12 +0100 (dim., 12 déc. 2010) | 3 lines
Improve readability of the socket docs
........