]> granicus.if.org Git - python/log
python
13 years agoIssue #13757: Change os.fdlistdir() so that it duplicates the passed file
Charles-François Natali [Tue, 10 Jan 2012 19:25:09 +0000 (20:25 +0100)]
Issue #13757: Change os.fdlistdir() so that it duplicates the passed file
descriptor (instead of closing it).

13 years agoMerge from 3.2 - Issue9637 - Explain in getproxies_environment that <scheme>_proxy...
Senthil Kumaran [Tue, 10 Jan 2012 17:30:23 +0000 (01:30 +0800)]
Merge from 3.2 - Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter.

13 years agoIssue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable...
Senthil Kumaran [Tue, 10 Jan 2012 17:29:08 +0000 (01:29 +0800)]
Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter.

13 years agoMerge with 3.2
Terry Jan Reedy [Mon, 9 Jan 2012 23:33:27 +0000 (18:33 -0500)]
Merge with 3.2

13 years ago#11906 Make test_argparse work interactively by removing extra space
Terry Jan Reedy [Mon, 9 Jan 2012 23:20:09 +0000 (18:20 -0500)]
#11906 Make test_argparse work interactively by removing extra space
in comparison string that argparse does not add when program name is blank.

13 years agoIssue #12760: Add a create mode to open(). Patch by David Townshend.
Charles-François Natali [Mon, 9 Jan 2012 21:40:02 +0000 (22:40 +0100)]
Issue #12760: Add a create mode to open(). Patch by David Townshend.

13 years agoMerge SSL doc fixes (issue #13747).
Antoine Pitrou [Mon, 9 Jan 2012 20:46:11 +0000 (21:46 +0100)]
Merge SSL doc fixes (issue #13747).

13 years agoIssue #13747: fix SSL compatibility table.
Antoine Pitrou [Mon, 9 Jan 2012 20:43:18 +0000 (21:43 +0100)]
Issue #13747: fix SSL compatibility table.

13 years agoIssue #13747: fix documentation error about the default SSL version.
Antoine Pitrou [Mon, 9 Jan 2012 20:35:11 +0000 (21:35 +0100)]
Issue #13747: fix documentation error about the default SSL version.

13 years agoFix nasty typo
Raymond Hettinger [Mon, 9 Jan 2012 20:02:24 +0000 (20:02 +0000)]
Fix nasty typo

13 years agoprovide a common method to check for RETR_DATA validity, first checking the expected...
Giampaolo Rodola' [Mon, 9 Jan 2012 16:10:10 +0000 (17:10 +0100)]
provide a common method to check for RETR_DATA validity, first checking the expected len and then the actual data content; this way we get a failure on len mismatch rather than content mismatch (which is very long and unreadable)

13 years agoMake the docstring style consistent.
Raymond Hettinger [Mon, 9 Jan 2012 06:17:39 +0000 (06:17 +0000)]
Make the docstring style consistent.

13 years agoImprove clarity with keyword argument for block. Move nowait methods together.
Raymond Hettinger [Mon, 9 Jan 2012 06:02:08 +0000 (06:02 +0000)]
Improve clarity with keyword argument for block.  Move nowait methods together.

13 years agoMinor code clean-ups and beautifications.
Raymond Hettinger [Mon, 9 Jan 2012 05:32:01 +0000 (05:32 +0000)]
Minor code clean-ups and beautifications.

13 years agoBacked out changeset 36f2e236c601: For some reason, rewinddir() doesn't work as
Charles-François Natali [Sun, 8 Jan 2012 19:30:47 +0000 (20:30 +0100)]
Backed out changeset 36f2e236c601: For some reason, rewinddir() doesn't work as
it should on OpenIndiana.

13 years agoIssue #13739: It's simpler and more direct to call rewinddir() at the
Charles-François Natali [Sun, 8 Jan 2012 18:07:18 +0000 (19:07 +0100)]
Issue #13739: It's simpler and more direct to call rewinddir() at the
beginning.

13 years agoIssue #13739: In os.listdir(), rewind the directory stream (so that listdir()
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).

13 years agoIssue #13738: Simplify implementation of bytes.lower() and bytes.upper().
Antoine Pitrou [Sun, 8 Jan 2012 15:22:46 +0000 (16:22 +0100)]
Issue #13738: Simplify implementation of bytes.lower() and bytes.upper().

13 years agoMerge with 3.2 for #12364.
Ross Lagerwall [Sun, 8 Jan 2012 06:42:03 +0000 (08:42 +0200)]
Merge with 3.2 for #12364.

13 years agoIssue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.
Ross Lagerwall [Sun, 8 Jan 2012 06:29:40 +0000 (08:29 +0200)]
Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.

13 years agoSimplify the code using with-statements.
Raymond Hettinger [Sat, 7 Jan 2012 23:32:52 +0000 (15:32 -0800)]
Simplify the code using with-statements.

13 years agoCloses #13732: now use os.linesep instead of a literal newline.
Vinay Sajip [Sat, 7 Jan 2012 23:26:17 +0000 (23:26 +0000)]
Closes #13732: now use os.linesep instead of a literal newline.

13 years agomerge with 3.2
Sandro Tosi [Sat, 7 Jan 2012 17:34:24 +0000 (18:34 +0100)]
merge with 3.2

13 years agoPy_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from...
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@

13 years agoIssue #13502: threading: Fix a race condition in Event.wait() that made it
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.

13 years agoIssue #13502: threading: Fix a race condition in Event.wait() that made it
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.

13 years agomerge with 3.2
Sandro Tosi [Sat, 7 Jan 2012 16:57:24 +0000 (17:57 +0100)]
merge with 3.2

13 years agoclarify recv* are blocking operations; thanks to Chris Kogelnik from docs@
Sandro Tosi [Sat, 7 Jan 2012 16:56:58 +0000 (17:56 +0100)]
clarify recv* are blocking operations; thanks to Chris Kogelnik from docs@

13 years agoIssue #9993: When the source and destination are on different filesystems,
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.

13 years agoUpdate printout of SSL certificate examples for 3.2+.
Antoine Pitrou [Fri, 6 Jan 2012 19:09:29 +0000 (20:09 +0100)]
Update printout of SSL certificate examples for 3.2+.

13 years agoUpdate 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+.

13 years agoIssue #12042: merge with 3.2
Sandro Tosi [Thu, 5 Jan 2012 18:49:27 +0000 (19:49 +0100)]
Issue #12042: merge with 3.2

13 years agoIssue #12042: a queue is only used to retrive results; preliminary patch by Jordan...
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

13 years agoIssue #11984: merge with 3.2
Sandro Tosi [Thu, 5 Jan 2012 18:06:56 +0000 (19:06 +0100)]
Issue #11984: merge with 3.2

13 years agoIssue #11984: remove reference to parser, it's not showing symbol usage anymore
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

13 years agoMerge from 3.2: Issue #12926: Fix a bug in tarfile's link extraction.
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.

13 years agoIssue #12926: Fix a bug in tarfile's link extraction.
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.

13 years agoCloses #13699: merged fix from 3.2.
Vinay Sajip [Thu, 5 Jan 2012 11:46:20 +0000 (11:46 +0000)]
Closes #13699: merged fix from 3.2.

13 years agoCloses #13699. Skipped two tests if Python is optimised.
Vinay Sajip [Thu, 5 Jan 2012 11:45:31 +0000 (11:45 +0000)]
Closes #13699. Skipped two tests if Python is optimised.

13 years agomerge with 3.2
Sandro Tosi [Wed, 4 Jan 2012 22:25:20 +0000 (23:25 +0100)]
merge with 3.2

13 years agoIssue #10772: add count and help argparse action; patch by Marc Sibson
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

13 years agoIssue #13713: fix a regression in HTTP chunked reading after 806cfe39f729
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)

13 years agoconvince regrtest.py we aren't modifying _CONFIG_VARS
Benjamin Peterson [Wed, 4 Jan 2012 16:12:14 +0000 (10:12 -0600)]
convince regrtest.py we aren't modifying _CONFIG_VARS

13 years agoCorrected typo in install docs
Jason R. Coombs [Wed, 4 Jan 2012 15:20:37 +0000 (10:20 -0500)]
Corrected typo in install docs

13 years agoCloses #13699. Skipped two tests if Python is optimised.
Vinay Sajip [Wed, 4 Jan 2012 12:07:30 +0000 (12:07 +0000)]
Closes #13699. Skipped two tests if Python is optimised.

13 years agoRefactored logging rotating handlers for improved flexibility.
Vinay Sajip [Wed, 4 Jan 2012 12:02:26 +0000 (12:02 +0000)]
Refactored logging rotating handlers for improved flexibility.

13 years agomerge from 3.2
Senthil Kumaran [Wed, 4 Jan 2012 06:47:30 +0000 (14:47 +0800)]
merge from 3.2

13 years agoIssue13696 - Fix 302 Redirection for Relative urls.
Senthil Kumaran [Wed, 4 Jan 2012 05:46:59 +0000 (13:46 +0800)]
Issue13696 - Fix 302 Redirection for Relative urls.

13 years agoFix PyUnicode_Fill() doc: return type is Py_ssize_t, not int
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

13 years agoAdd a subsection explaning cipher selection.
Antoine Pitrou [Wed, 4 Jan 2012 01:54:12 +0000 (02:54 +0100)]
Add a subsection explaning cipher selection.

13 years agoAdd a subsection explaning cipher selection.
Antoine Pitrou [Wed, 4 Jan 2012 01:53:44 +0000 (02:53 +0100)]
Add a subsection explaning cipher selection.

13 years agoAdd a new PyUnicode_Fill() function
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.

13 years agomerge 3.2
Benjamin Peterson [Tue, 3 Jan 2012 22:48:14 +0000 (16:48 -0600)]
merge 3.2

13 years agofix formatting
Benjamin Peterson [Tue, 3 Jan 2012 22:47:22 +0000 (16:47 -0600)]
fix formatting

13 years agomerge 3.2
Benjamin Peterson [Tue, 3 Jan 2012 22:30:47 +0000 (16:30 -0600)]
merge 3.2

13 years agoexception support is correct now (closes #13705)
Benjamin Peterson [Tue, 3 Jan 2012 22:30:37 +0000 (16:30 -0600)]
exception support is correct now (closes #13705)

13 years agomerge 3.2
Benjamin Peterson [Tue, 3 Jan 2012 22:26:34 +0000 (16:26 -0600)]
merge 3.2

13 years agomerge 3.1
Benjamin Peterson [Tue, 3 Jan 2012 22:24:39 +0000 (16:24 -0600)]
merge 3.1

13 years agofix this to not depend on dictionary order
Benjamin Peterson [Tue, 3 Jan 2012 22:23:11 +0000 (16:23 -0600)]
fix this to not depend on dictionary order

13 years agoMerge
Antoine Pitrou [Tue, 3 Jan 2012 21:50:16 +0000 (22:50 +0100)]
Merge

13 years agoMerge
Antoine Pitrou [Tue, 3 Jan 2012 21:49:56 +0000 (22:49 +0100)]
Merge

13 years agoIssue #13636: Weak ciphers are now disabled by default in the ssl module
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).

13 years agomerge with 3.2
Sandro Tosi [Tue, 3 Jan 2012 21:47:28 +0000 (22:47 +0100)]
merge with 3.2

13 years agoIssue #13636: Weak ciphers are now disabled by default in the ssl module
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).

13 years agoIssue #6031: improve serve_forever() description
Sandro Tosi [Tue, 3 Jan 2012 21:35:54 +0000 (22:35 +0100)]
Issue #6031: improve serve_forever() description

13 years agomerge with 3.2
Sandro Tosi [Tue, 3 Jan 2012 17:37:46 +0000 (18:37 +0100)]
merge with 3.2

13 years agoIssue #9349: add argparse.SUPPRESS to help doc
Sandro Tosi [Tue, 3 Jan 2012 17:37:03 +0000 (18:37 +0100)]
Issue #9349: add argparse.SUPPRESS to help doc

13 years agouse io.SEEK_* constants instead of os.SEEK_* where an IO stream is seeked, leaving...
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

13 years agoMock the rename failure a bit better
Antoine Pitrou [Mon, 2 Jan 2012 18:18:02 +0000 (19:18 +0100)]
Mock the rename failure a bit better

13 years agoalso decref the right thing
Benjamin Peterson [Mon, 2 Jan 2012 16:12:13 +0000 (10:12 -0600)]
also decref the right thing

13 years agoready the correct string
Benjamin Peterson [Mon, 2 Jan 2012 15:07:38 +0000 (09:07 -0600)]
ready the correct string

13 years agomerge heads
Benjamin Peterson [Mon, 2 Jan 2012 15:00:38 +0000 (09:00 -0600)]
merge heads

13 years agofix some possible refleaks from PyUnicode_READY error conditions
Benjamin Peterson [Mon, 2 Jan 2012 15:00:30 +0000 (09:00 -0600)]
fix some possible refleaks from PyUnicode_READY error conditions

13 years agoIssue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
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.

13 years agoIssue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
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.

13 years agoAdd note on memory usage to LZMACompressor doc.
Nadeem Vawda [Mon, 2 Jan 2012 00:24:20 +0000 (02:24 +0200)]
Add note on memory usage to LZMACompressor doc.

13 years ago== -1 is convention
Benjamin Peterson [Sun, 1 Jan 2012 22:04:29 +0000 (16:04 -0600)]
== -1 is convention

13 years agomake switch more robust
Benjamin Peterson [Sun, 1 Jan 2012 21:56:20 +0000 (15:56 -0600)]
make switch more robust

13 years agomerge with 3.2
Sandro Tosi [Sun, 1 Jan 2012 21:53:29 +0000 (22:53 +0100)]
merge with 3.2

13 years agoIssue #13594: various fixes to aifc module; patch by Oleg Plakhotnyuk
Sandro Tosi [Sun, 1 Jan 2012 21:53:08 +0000 (22:53 +0100)]
Issue #13594: various fixes to aifc module; patch by Oleg Plakhotnyuk

13 years agoIssue #13640: add application/vnd.apple.mpegurl MIME type; (partial) patch by Hiroaki...
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

13 years agomerge with 3.2
Sandro Tosi [Sun, 1 Jan 2012 17:05:06 +0000 (18:05 +0100)]
merge with 3.2

13 years agoIssue #13680: add lowecase compression type to write header; patch by Oleg Plakhotnyuk
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

13 years agomerge with 3.2
Sandro Tosi [Sun, 1 Jan 2012 11:56:04 +0000 (12:56 +0100)]
merge with 3.2

13 years agoIssue #13690: add re.DEBUG; patch by Filip Gruszczyński
Sandro Tosi [Sun, 1 Jan 2012 11:55:20 +0000 (12:55 +0100)]
Issue #13690: add re.DEBUG; patch by Filip Gruszczyński

13 years agomerge with 3.2
Sandro Tosi [Sun, 1 Jan 2012 11:17:36 +0000 (12:17 +0100)]
merge with 3.2

13 years agoIssue #13683: raise with no exception in scope throws a RuntimeError; fix by Ramchand...
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

13 years agomerge 3.2
Ned Deily [Sun, 1 Jan 2012 09:10:35 +0000 (01:10 -0800)]
merge 3.2

13 years agoUpdate copyright dates in Mac plists.
Ned Deily [Sun, 1 Jan 2012 09:09:19 +0000 (01:09 -0800)]
Update copyright dates in Mac plists.

13 years agomerge 3.2
Benjamin Peterson [Sun, 1 Jan 2012 04:43:01 +0000 (22:43 -0600)]
merge 3.2

13 years agomerge heads
Benjamin Peterson [Sun, 1 Jan 2012 04:42:45 +0000 (22:42 -0600)]
merge heads

13 years agoadd another year to glorious PSF IP
Benjamin Peterson [Sun, 1 Jan 2012 04:42:26 +0000 (22:42 -0600)]
add another year to glorious PSF IP

13 years agomerge with 3.2
Sandro Tosi [Sat, 31 Dec 2011 18:03:30 +0000 (19:03 +0100)]
merge with 3.2

13 years agofix some broken URLs
Sandro Tosi [Sat, 31 Dec 2011 17:46:50 +0000 (18:46 +0100)]
fix some broken URLs

13 years agofix Exemples/Examples typo; thanks to Ori Livneh from docs@
Sandro Tosi [Sat, 31 Dec 2011 11:59:08 +0000 (12:59 +0100)]
fix Exemples/Examples typo; thanks to Ori Livneh from docs@

13 years agoSome formatting & grammar fixes for the multiprocessing doc
Eli Bendersky [Sat, 31 Dec 2011 05:22:27 +0000 (07:22 +0200)]
Some formatting & grammar fixes for the multiprocessing doc

13 years agoSome 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

13 years agomerge 3.2
Benjamin Peterson [Sat, 31 Dec 2011 05:09:20 +0000 (23:09 -0600)]
merge 3.2

13 years agoindicate msg is an argument
Benjamin Peterson [Sat, 31 Dec 2011 05:08:09 +0000 (23:08 -0600)]
indicate msg is an argument

13 years agoFix no-op tests in importlib.
Antoine Pitrou [Fri, 30 Dec 2011 20:26:08 +0000 (21:26 +0100)]
Fix no-op tests in importlib.