Charles-François Natali [Sun, 8 Jan 2012 17:34:06 +0000 (18:34 +0100)]
Issue #13739: In os.listdir(), rewind the directory stream (so that listdir()
can be called again on the same open file).
Antoine Pitrou [Sun, 8 Jan 2012 15:22:46 +0000 (16:22 +0100)]
Issue #13738: Simplify implementation of bytes.lower() and bytes.upper().
Ross Lagerwall [Sun, 8 Jan 2012 06:42:03 +0000 (08:42 +0200)]
Merge with 3.2 for #12364.
Ross Lagerwall [Sun, 8 Jan 2012 06:29:40 +0000 (08:29 +0200)]
Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.
Raymond Hettinger [Sat, 7 Jan 2012 23:32:52 +0000 (15:32 -0800)]
Simplify the code using with-statements.
Vinay Sajip [Sat, 7 Jan 2012 23:26:17 +0000 (23:26 +0000)]
Closes #13732: now use os.linesep instead of a literal newline.
Sandro Tosi [Sat, 7 Jan 2012 17:34:24 +0000 (18:34 +0100)]
merge with 3.2
Sandro Tosi [Sat, 7 Jan 2012 17:34:07 +0000 (18:34 +0100)]
Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from docs@
Charles-François Natali [Sat, 7 Jan 2012 17:26:39 +0000 (18:26 +0100)]
Issue #13502: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.
Charles-François Natali [Sat, 7 Jan 2012 17:24:56 +0000 (18:24 +0100)]
Issue #13502: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.
Sandro Tosi [Sat, 7 Jan 2012 16:57:24 +0000 (17:57 +0100)]
merge with 3.2
Sandro Tosi [Sat, 7 Jan 2012 16:56:58 +0000 (17:56 +0100)]
clarify recv* are blocking operations; thanks to Chris Kogelnik from docs@
Antoine Pitrou [Fri, 6 Jan 2012 19:16:19 +0000 (20:16 +0100)]
Issue #9993: When the source and destination are on different filesystems,
and the source is a symlink, shutil.move() now recreates a symlink on the
destination instead of copying the file contents.
Patch by Jonathan Niehof and Hynek Schlawack.
Antoine Pitrou [Fri, 6 Jan 2012 19:09:29 +0000 (20:09 +0100)]
Update printout of SSL certificate examples for 3.2+.
Antoine Pitrou [Fri, 6 Jan 2012 19:06:15 +0000 (20:06 +0100)]
Update printout of SSL certificate examples for 3.2+.
Sandro Tosi [Thu, 5 Jan 2012 18:49:27 +0000 (19:49 +0100)]
Issue #12042: merge with 3.2
Sandro Tosi [Thu, 5 Jan 2012 18:48:56 +0000 (19:48 +0100)]
Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler
Sandro Tosi [Thu, 5 Jan 2012 18:06:56 +0000 (19:06 +0100)]
Issue #11984: merge with 3.2
Sandro Tosi [Thu, 5 Jan 2012 18:06:25 +0000 (19:06 +0100)]
Issue #11984: remove reference to parser, it's not showing symbol usage anymore
Lars Gustäbel [Thu, 5 Jan 2012 17:53:00 +0000 (18:53 +0100)]
Merge from 3.2: Issue #12926: Fix a bug in tarfile's link extraction.
On platforms that do not support (symbolic) links, tarfile offers a
work-around and extracts a link in an archive as the regular file the link is
pointing to. On other platforms, this code was accidentally executed even
after the link had been successfully extracted which failed due to the already
existing link.
Lars Gustäbel [Thu, 5 Jan 2012 17:48:06 +0000 (18:48 +0100)]
Issue #12926: Fix a bug in tarfile's link extraction.
On platforms that do not support (symbolic) links, tarfile offers a
work-around and extracts a link in an archive as the regular file the link is
pointing to. On other platforms, this code was accidentally executed even
after the link had been successfully extracted which failed due to the already
existing link.
Vinay Sajip [Thu, 5 Jan 2012 11:46:20 +0000 (11:46 +0000)]
Closes #13699: merged fix from 3.2.
Vinay Sajip [Thu, 5 Jan 2012 11:45:31 +0000 (11:45 +0000)]
Closes #13699. Skipped two tests if Python is optimised.
Sandro Tosi [Wed, 4 Jan 2012 22:25:20 +0000 (23:25 +0100)]
merge with 3.2
Sandro Tosi [Wed, 4 Jan 2012 22:25:04 +0000 (23:25 +0100)]
Issue #10772: add count and help argparse action; patch by Marc Sibson
Antoine Pitrou [Wed, 4 Jan 2012 17:57:22 +0000 (18:57 +0100)]
Issue #13713: fix a regression in HTTP chunked reading after
806cfe39f729
(originally issue #13464: Add a readinto() method to http.client.HTTPResponse)
Benjamin Peterson [Wed, 4 Jan 2012 16:12:14 +0000 (10:12 -0600)]
convince regrtest.py we aren't modifying _CONFIG_VARS
Jason R. Coombs [Wed, 4 Jan 2012 15:20:37 +0000 (10:20 -0500)]
Corrected typo in install docs
Vinay Sajip [Wed, 4 Jan 2012 12:07:30 +0000 (12:07 +0000)]
Closes #13699. Skipped two tests if Python is optimised.
Vinay Sajip [Wed, 4 Jan 2012 12:02:26 +0000 (12:02 +0000)]
Refactored logging rotating handlers for improved flexibility.
Senthil Kumaran [Wed, 4 Jan 2012 06:47:30 +0000 (14:47 +0800)]
merge from 3.2
Senthil Kumaran [Wed, 4 Jan 2012 05:46:59 +0000 (13:46 +0800)]
Issue13696 - Fix 302 Redirection for Relative urls.
Victor Stinner [Wed, 4 Jan 2012 02:59:16 +0000 (03:59 +0100)]
Fix PyUnicode_Fill() doc: return type is Py_ssize_t, not int
Antoine Pitrou [Wed, 4 Jan 2012 01:54:12 +0000 (02:54 +0100)]
Add a subsection explaning cipher selection.
Antoine Pitrou [Wed, 4 Jan 2012 01:53:44 +0000 (02:53 +0100)]
Add a subsection explaning cipher selection.
Victor Stinner [Tue, 3 Jan 2012 23:33:50 +0000 (00:33 +0100)]
Add a new PyUnicode_Fill() function
It is faster than the unicode_fill() function which was implemented in
formatter_unicode.c.
Benjamin Peterson [Tue, 3 Jan 2012 22:48:14 +0000 (16:48 -0600)]
merge 3.2
Benjamin Peterson [Tue, 3 Jan 2012 22:47:22 +0000 (16:47 -0600)]
fix formatting
Benjamin Peterson [Tue, 3 Jan 2012 22:30:47 +0000 (16:30 -0600)]
merge 3.2
Benjamin Peterson [Tue, 3 Jan 2012 22:30:37 +0000 (16:30 -0600)]
exception support is correct now (closes #13705)
Benjamin Peterson [Tue, 3 Jan 2012 22:26:34 +0000 (16:26 -0600)]
merge 3.2
Benjamin Peterson [Tue, 3 Jan 2012 22:24:39 +0000 (16:24 -0600)]
merge 3.1
Benjamin Peterson [Tue, 3 Jan 2012 22:23:11 +0000 (16:23 -0600)]
fix this to not depend on dictionary order
Antoine Pitrou [Tue, 3 Jan 2012 21:50:16 +0000 (22:50 +0100)]
Merge
Antoine Pitrou [Tue, 3 Jan 2012 21:49:56 +0000 (22:49 +0100)]
Merge
Antoine Pitrou [Tue, 3 Jan 2012 21:49:08 +0000 (22:49 +0100)]
Issue #13636: Weak ciphers are now disabled by default in the ssl module
(except when SSLv2 is explicitly asked for).
Sandro Tosi [Tue, 3 Jan 2012 21:47:28 +0000 (22:47 +0100)]
merge with 3.2
Antoine Pitrou [Tue, 3 Jan 2012 21:46:48 +0000 (22:46 +0100)]
Issue #13636: Weak ciphers are now disabled by default in the ssl module
(except when SSLv2 is explicitly asked for).
Sandro Tosi [Tue, 3 Jan 2012 21:35:54 +0000 (22:35 +0100)]
Issue #6031: improve serve_forever() description
Sandro Tosi [Tue, 3 Jan 2012 17:37:46 +0000 (18:37 +0100)]
merge with 3.2
Sandro Tosi [Tue, 3 Jan 2012 17:37:03 +0000 (18:37 +0100)]
Issue #9349: add argparse.SUPPRESS to help doc
Eli Bendersky [Tue, 3 Jan 2012 04:26:13 +0000 (06:26 +0200)]
use io.SEEK_* constants instead of os.SEEK_* where an IO stream is seeked, leaving the os.SEEK_* constants only for os.lseek, as documented
Antoine Pitrou [Mon, 2 Jan 2012 18:18:02 +0000 (19:18 +0100)]
Mock the rename failure a bit better
Benjamin Peterson [Mon, 2 Jan 2012 16:12:13 +0000 (10:12 -0600)]
also decref the right thing
Benjamin Peterson [Mon, 2 Jan 2012 15:07:38 +0000 (09:07 -0600)]
ready the correct string
Benjamin Peterson [Mon, 2 Jan 2012 15:00:38 +0000 (09:00 -0600)]
merge heads
Benjamin Peterson [Mon, 2 Jan 2012 15:00:30 +0000 (09:00 -0600)]
fix some possible refleaks from PyUnicode_READY error conditions
Charles-François Natali [Mon, 2 Jan 2012 14:57:30 +0000 (15:57 +0100)]
Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Vilmos Nebehaj.
Charles-François Natali [Mon, 2 Jan 2012 14:47:29 +0000 (15:47 +0100)]
Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Vilmos Nebehaj.
Nadeem Vawda [Mon, 2 Jan 2012 00:24:20 +0000 (02:24 +0200)]
Add note on memory usage to LZMACompressor doc.
Benjamin Peterson [Sun, 1 Jan 2012 22:04:29 +0000 (16:04 -0600)]
== -1 is convention
Benjamin Peterson [Sun, 1 Jan 2012 21:56:20 +0000 (15:56 -0600)]
make switch more robust
Sandro Tosi [Sun, 1 Jan 2012 21:53:29 +0000 (22:53 +0100)]
merge with 3.2
Sandro Tosi [Sun, 1 Jan 2012 21:53:08 +0000 (22:53 +0100)]
Issue #13594: various fixes to aifc module; patch by Oleg Plakhotnyuk
Sandro Tosi [Sun, 1 Jan 2012 17:34:29 +0000 (18:34 +0100)]
Issue #13640: add application/vnd.apple.mpegurl MIME type; (partial) patch by Hiroaki Kawai
Sandro Tosi [Sun, 1 Jan 2012 17:05:06 +0000 (18:05 +0100)]
merge with 3.2
Sandro Tosi [Sun, 1 Jan 2012 17:04:37 +0000 (18:04 +0100)]
Issue #13680: add lowecase compression type to write header; patch by Oleg Plakhotnyuk
Sandro Tosi [Sun, 1 Jan 2012 11:56:04 +0000 (12:56 +0100)]
merge with 3.2
Sandro Tosi [Sun, 1 Jan 2012 11:55:20 +0000 (12:55 +0100)]
Issue #13690: add re.DEBUG; patch by Filip Gruszczyński
Sandro Tosi [Sun, 1 Jan 2012 11:17:36 +0000 (12:17 +0100)]
merge with 3.2
Sandro Tosi [Sun, 1 Jan 2012 11:17:15 +0000 (12:17 +0100)]
Issue #13683: raise with no exception in scope throws a RuntimeError; fix by Ramchandra Apte
Ned Deily [Sun, 1 Jan 2012 09:10:35 +0000 (01:10 -0800)]
merge 3.2
Ned Deily [Sun, 1 Jan 2012 09:09:19 +0000 (01:09 -0800)]
Update copyright dates in Mac plists.
Benjamin Peterson [Sun, 1 Jan 2012 04:43:01 +0000 (22:43 -0600)]
merge 3.2
Benjamin Peterson [Sun, 1 Jan 2012 04:42:45 +0000 (22:42 -0600)]
merge heads
Benjamin Peterson [Sun, 1 Jan 2012 04:42:26 +0000 (22:42 -0600)]
add another year to glorious PSF IP
Sandro Tosi [Sat, 31 Dec 2011 18:03:30 +0000 (19:03 +0100)]
merge with 3.2
Sandro Tosi [Sat, 31 Dec 2011 17:46:50 +0000 (18:46 +0100)]
fix some broken URLs
Sandro Tosi [Sat, 31 Dec 2011 11:59:08 +0000 (12:59 +0100)]
fix Exemples/Examples typo; thanks to Ori Livneh from docs@
Eli Bendersky [Sat, 31 Dec 2011 05:22:27 +0000 (07:22 +0200)]
Some formatting & grammar fixes for the multiprocessing doc
Eli Bendersky [Sat, 31 Dec 2011 05:20:26 +0000 (07:20 +0200)]
Some formatting & grammar fixes for the multiprocessing doc
Benjamin Peterson [Sat, 31 Dec 2011 05:09:20 +0000 (23:09 -0600)]
merge 3.2
Benjamin Peterson [Sat, 31 Dec 2011 05:08:09 +0000 (23:08 -0600)]
indicate msg is an argument
Antoine Pitrou [Fri, 30 Dec 2011 20:26:08 +0000 (21:26 +0100)]
Fix no-op tests in importlib.
Antoine Pitrou [Fri, 30 Dec 2011 20:25:15 +0000 (21:25 +0100)]
Fix no-op tests in importlib.
Benjamin Peterson [Fri, 30 Dec 2011 19:47:49 +0000 (13:47 -0600)]
merge 3.2
Benjamin Peterson [Fri, 30 Dec 2011 19:47:25 +0000 (13:47 -0600)]
use booleans
Benjamin Peterson [Thu, 29 Dec 2011 18:07:21 +0000 (12:07 -0600)]
evidently some buildbots don't have python 3 installed
Benjamin Peterson [Thu, 29 Dec 2011 18:04:28 +0000 (12:04 -0600)]
merge heads
Benjamin Peterson [Thu, 29 Dec 2011 18:03:55 +0000 (12:03 -0600)]
run AST toolchain on python3
Antoine Pitrou [Thu, 29 Dec 2011 17:54:15 +0000 (18:54 +0100)]
Issue #12715: Add an optional symlinks argument to shutil functions (copyfile, copymode, copystat, copy, copy2).
When that parameter is true, symlinks aren't dereferenced and the operation
instead acts on the symlink itself (or creates one, if relevant).
Patch by Hynek Schlawack.
Benjamin Peterson [Wed, 28 Dec 2011 18:01:51 +0000 (12:01 -0600)]
merge heads
Benjamin Peterson [Wed, 28 Dec 2011 18:01:31 +0000 (12:01 -0600)]
fix weird indentation
Jason R. Coombs [Wed, 28 Dec 2011 15:45:08 +0000 (10:45 -0500)]
Limit test scope to those platforms that can save the target filenames. Reference #11638.
Benjamin Peterson [Tue, 27 Dec 2011 22:52:20 +0000 (16:52 -0600)]
don't fail if CLOEXEC doesn't exist
Benjamin Peterson [Tue, 27 Dec 2011 22:01:21 +0000 (16:01 -0600)]
try to always use the old API
Benjamin Peterson [Tue, 27 Dec 2011 21:36:32 +0000 (15:36 -0600)]
fix for old kernels which don't have epoll_create1
Benjamin Peterson [Tue, 27 Dec 2011 21:17:15 +0000 (15:17 -0600)]
merge 3.2
Benjamin Peterson [Tue, 27 Dec 2011 21:16:34 +0000 (15:16 -0600)]
propgate error in other conditions
Benjamin Peterson [Tue, 27 Dec 2011 21:15:41 +0000 (15:15 -0600)]
add a flags parameter to select.epoll