]> granicus.if.org Git - python/log
python
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.

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

13 years agomerge 3.2
Benjamin Peterson [Fri, 30 Dec 2011 19:47:49 +0000 (13:47 -0600)]
merge 3.2

13 years agouse booleans
Benjamin Peterson [Fri, 30 Dec 2011 19:47:25 +0000 (13:47 -0600)]
use booleans

13 years agoevidently some buildbots don't have python 3 installed
Benjamin Peterson [Thu, 29 Dec 2011 18:07:21 +0000 (12:07 -0600)]
evidently some buildbots don't have python 3 installed

13 years agomerge heads
Benjamin Peterson [Thu, 29 Dec 2011 18:04:28 +0000 (12:04 -0600)]
merge heads

13 years agorun AST toolchain on python3
Benjamin Peterson [Thu, 29 Dec 2011 18:03:55 +0000 (12:03 -0600)]
run AST toolchain on python3

13 years agoIssue #12715: Add an optional symlinks argument to shutil functions (copyfile, copymo...
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.

13 years agomerge heads
Benjamin Peterson [Wed, 28 Dec 2011 18:01:51 +0000 (12:01 -0600)]
merge heads

13 years agofix weird indentation
Benjamin Peterson [Wed, 28 Dec 2011 18:01:31 +0000 (12:01 -0600)]
fix weird indentation

13 years agoLimit test scope to those platforms that can save the target filenames. Reference...
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.

13 years agodon't fail if CLOEXEC doesn't exist
Benjamin Peterson [Tue, 27 Dec 2011 22:52:20 +0000 (16:52 -0600)]
don't fail if CLOEXEC doesn't exist

13 years agotry to always use the old API
Benjamin Peterson [Tue, 27 Dec 2011 22:01:21 +0000 (16:01 -0600)]
try to always use the old API

13 years agofix for old kernels which don't have epoll_create1
Benjamin Peterson [Tue, 27 Dec 2011 21:36:32 +0000 (15:36 -0600)]
fix for old kernels which don't have epoll_create1

13 years agomerge 3.2
Benjamin Peterson [Tue, 27 Dec 2011 21:17:15 +0000 (15:17 -0600)]
merge 3.2

13 years agopropgate error in other conditions
Benjamin Peterson [Tue, 27 Dec 2011 21:16:34 +0000 (15:16 -0600)]
propgate error in other conditions

13 years agoadd a flags parameter to select.epoll
Benjamin Peterson [Tue, 27 Dec 2011 21:15:41 +0000 (15:15 -0600)]
add a flags parameter to select.epoll

13 years agoPorted some test cases from 2.7 for #11638
Jason R. Coombs [Mon, 26 Dec 2011 17:17:01 +0000 (12:17 -0500)]
Ported some test cases from 2.7 for #11638

13 years agomerge with 3.2
Georg Brandl [Sun, 25 Dec 2011 18:03:22 +0000 (19:03 +0100)]
merge with 3.2

13 years agoI do not think we will ever have auto-indent at the prompt, that is for IPython and...
Georg Brandl [Sun, 25 Dec 2011 18:03:07 +0000 (19:03 +0100)]
I do not think we will ever have auto-indent at the prompt, that is for IPython and the like.

13 years agomerge with 3.2
Sandro Tosi [Sun, 25 Dec 2011 16:26:09 +0000 (17:26 +0100)]
merge with 3.2

13 years agouse list() to wrap range() in itertools.permutations() example; thanks to Romain...
Sandro Tosi [Sun, 25 Dec 2011 16:25:45 +0000 (17:25 +0100)]
use list() to wrap range() in itertools.permutations() example; thanks to Romain MORLEVAT from docs@

13 years agomerge with 3.2
Sandro Tosi [Sun, 25 Dec 2011 16:14:28 +0000 (17:14 +0100)]
merge with 3.2

13 years agofix "Title underline too short" sphinx warning
Sandro Tosi [Sun, 25 Dec 2011 16:14:11 +0000 (17:14 +0100)]
fix "Title underline too short" sphinx warning

13 years agomerge with 3.2
Sandro Tosi [Sun, 25 Dec 2011 16:07:38 +0000 (17:07 +0100)]
merge with 3.2

13 years agouse double-quote char instead of unicode ones; thanks to tomo cocoa from docs@
Sandro Tosi [Sun, 25 Dec 2011 16:07:22 +0000 (17:07 +0100)]
use double-quote char instead of unicode ones; thanks to tomo cocoa from docs@

13 years agomerge with 3.2
Sandro Tosi [Sun, 25 Dec 2011 10:44:55 +0000 (11:44 +0100)]
merge with 3.2

13 years agofix to sent/send typo
Sandro Tosi [Sun, 25 Dec 2011 10:44:38 +0000 (11:44 +0100)]
fix to sent/send typo

13 years agomerge with 3.2
Sandro Tosi [Sun, 25 Dec 2011 10:27:51 +0000 (11:27 +0100)]
merge with 3.2

13 years agofix Constuctor/Constructor typo; thanks to Anthon van der Neut from docs@
Sandro Tosi [Sun, 25 Dec 2011 10:27:37 +0000 (11:27 +0100)]
fix Constuctor/Constructor typo; thanks to Anthon van der Neut from docs@

13 years agomerge with 3.2
Sandro Tosi [Sat, 24 Dec 2011 22:13:39 +0000 (23:13 +0100)]
merge with 3.2

13 years agopoint IronPython to ironpython.net; thanks to Lazar Pancic from docs@
Sandro Tosi [Sat, 24 Dec 2011 22:13:19 +0000 (23:13 +0100)]
point IronPython to ironpython.net; thanks to Lazar Pancic from docs@

13 years agomerge with 3.2
Sandro Tosi [Sat, 24 Dec 2011 18:56:35 +0000 (19:56 +0100)]
merge with 3.2

13 years agofix Rather that/Rather than; thanks to Reuben Thomas from docs@
Sandro Tosi [Sat, 24 Dec 2011 18:56:04 +0000 (19:56 +0100)]
fix Rather that/Rather than; thanks to Reuben Thomas from docs@

13 years agomerge with 3.2
Sandro Tosi [Sat, 24 Dec 2011 14:53:51 +0000 (15:53 +0100)]
merge with 3.2

13 years agoremove spurious dot from string formatting example; thanks to Anthon van der Neut...
Sandro Tosi [Sat, 24 Dec 2011 14:53:35 +0000 (15:53 +0100)]
remove spurious dot from string formatting example; thanks to Anthon van der Neut from docs@