]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
12 years agoIssue #17269: Workaround for a platform bug in getaddrinfo on OSX
Ronald Oussoren [Fri, 24 May 2013 11:47:37 +0000 (13:47 +0200)] 
Issue #17269: Workaround for a platform bug in getaddrinfo on OSX

Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.

12 years agoFix #18007 : Document CookieJar.add_cookie_header request parameter changes in 3.3
Senthil Kumaran [Thu, 23 May 2013 12:27:38 +0000 (05:27 -0700)] 
Fix #18007 : Document CookieJar.add_cookie_header request parameter changes in 3.3

12 years agoIssue 17844: Clarify meaning of different codec tables
Nick Coghlan [Thu, 23 May 2013 10:24:02 +0000 (20:24 +1000)] 
Issue 17844: Clarify meaning of different codec tables

12 years agoIssue #18031: %-formatting isn't dead yet and might pull through.
Raymond Hettinger [Thu, 23 May 2013 07:14:47 +0000 (00:14 -0700)] 
Issue #18031:  %-formatting isn't dead yet and might pull through.

12 years agoIssue #17532: Always include Options menu for IDLE on OS X.
Ned Deily [Wed, 22 May 2013 22:19:40 +0000 (15:19 -0700)] 
Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.

12 years agoadd test for inequality
Benjamin Peterson [Wed, 22 May 2013 20:27:25 +0000 (13:27 -0700)] 
add test for inequality

12 years agoIssue #16986: ElementTree now correctly parses a string input not only when
Serhiy Storchaka [Wed, 22 May 2013 14:07:51 +0000 (17:07 +0300)] 
Issue #16986: ElementTree now correctly parses a string input not only when
an internal XML encoding is UTF-8 or US-ASCII.

12 years agoIssue #17844: Add links to encoders and decoders for bytes-to-bytes codecs.
Serhiy Storchaka [Wed, 22 May 2013 12:33:09 +0000 (15:33 +0300)] 
Issue #17844: Add links to encoders and decoders for bytes-to-bytes codecs.

12 years ago#17973: fix technical inaccuracy in faq entry (it now passes doctest).
R David Murray [Tue, 21 May 2013 15:44:41 +0000 (11:44 -0400)] 
#17973: fix technical inaccuracy in faq entry (it now passes doctest).

12 years ago#14146: Highlight source line while debugging on Windows.
Roger Serwy [Tue, 21 May 2013 03:13:39 +0000 (22:13 -0500)] 
#14146: Highlight source line while debugging on Windows.

12 years agoIssue #17743: Now use extended syntax of set command in .bat files.
Vinay Sajip [Mon, 20 May 2013 22:38:12 +0000 (15:38 -0700)] 
Issue #17743: Now use extended syntax of set command in .bat files.

12 years agoIssue #17744: Now unset VIRTUAL_ENV environment variable when deactivating.
Vinay Sajip [Mon, 20 May 2013 22:28:52 +0000 (15:28 -0700)] 
Issue #17744: Now unset VIRTUAL_ENV environment variable when deactivating.

12 years agoIssue #18026: fix ctypes doc typo
Ned Deily [Mon, 20 May 2013 21:29:44 +0000 (14:29 -0700)] 
Issue #18026: fix ctypes doc typo

12 years ago#17973: Add FAQ entry for ([],)[0] += [1] both extending and raising.
R David Murray [Mon, 20 May 2013 14:32:46 +0000 (10:32 -0400)] 
#17973: Add FAQ entry for ([],)[0] += [1] both extending and raising.

This has come up often enough now on the tracker that it deserves a FAQ entry.

12 years ago#14097: improve the "introduction" page of the tutorial.
Ezio Melotti [Mon, 20 May 2013 05:12:32 +0000 (08:12 +0300)] 
#14097: improve the "introduction" page of the tutorial.

12 years agoadd recursive repr test
Benjamin Peterson [Mon, 20 May 2013 02:39:38 +0000 (19:39 -0700)] 
add recursive repr test

12 years agoIssue #17989: fix typo in error message
Eli Bendersky [Sun, 19 May 2013 23:59:59 +0000 (16:59 -0700)] 
Issue #17989: fix typo in error message

12 years agoTry to make test more reliable (saw some sporadic failures on buildbots)
Antoine Pitrou [Sun, 19 May 2013 13:55:40 +0000 (15:55 +0200)] 
Try to make test more reliable (saw some sporadic failures on buildbots)

12 years agoIssue #11995: test_pydoc doesn't import all sys.path modules anymore.
Antoine Pitrou [Sun, 19 May 2013 13:44:54 +0000 (15:44 +0200)] 
Issue #11995: test_pydoc doesn't import all sys.path modules anymore.

12 years agoIssue #17812: Fixed quadratic complexity of base64.b32encode().
Serhiy Storchaka [Sun, 19 May 2013 08:41:15 +0000 (11:41 +0300)] 
Issue #17812: Fixed quadratic complexity of base64.b32encode().

12 years agoIssue #17901: fix TreeBuilder construction for an explicit element_factory=None
Eli Bendersky [Sat, 18 May 2013 22:47:16 +0000 (15:47 -0700)] 
Issue #17901: fix TreeBuilder construction for an explicit element_factory=None

Based on report and patch by Aaron Oakley.

12 years agoClose file before reopening to keep Windows happy in test_sax.
Richard Oudkerk [Sat, 18 May 2013 17:11:30 +0000 (18:11 +0100)] 
Close file before reopening to keep Windows happy in test_sax.

12 years agoIssue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using...
Antoine Pitrou [Sat, 18 May 2013 15:56:42 +0000 (17:56 +0200)] 
Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of service using certificates with many wildcards (CVE-2013-2099).

12 years agoIssue #17989: element_setattro returned incorrect error value.
Eli Bendersky [Sat, 18 May 2013 14:52:34 +0000 (07:52 -0700)] 
Issue #17989: element_setattro returned incorrect error value.

This caused an exception to be raised later than expected.

12 years agoUpdate docstring for _asdict() to indicate it is obsolete.
Raymond Hettinger [Fri, 17 May 2013 23:43:14 +0000 (16:43 -0700)] 
Update docstring for _asdict() to indicate it is obsolete.
Use the cleaner looking @property style for __dict__.
Move _replace() to be just after make() to indicate that
it is a core method on named tuples.

12 years agoonly recursively expand in the format spec (closes #17644)
Benjamin Peterson [Fri, 17 May 2013 22:34:30 +0000 (17:34 -0500)] 
only recursively expand in the format spec (closes #17644)

12 years agoIssue #17563: Fix dict resize performance regression.
Raymond Hettinger [Fri, 17 May 2013 10:01:13 +0000 (03:01 -0700)] 
Issue #17563: Fix dict resize performance regression.

12 years agoRemove unnecessary exception handler.
Raymond Hettinger [Fri, 17 May 2013 09:28:33 +0000 (02:28 -0700)] 
Remove unnecessary exception handler.

12 years agoIgnore Mac OS X entries for .DS_Store
Raymond Hettinger [Fri, 17 May 2013 09:23:16 +0000 (02:23 -0700)] 
Ignore Mac OS X entries for .DS_Store

12 years agoFix some bugs in Tools/scripts/abitype.py.
Serhiy Storchaka [Fri, 17 May 2013 07:17:43 +0000 (10:17 +0300)] 
Fix some bugs in Tools/scripts/abitype.py.

12 years agomove definition to top of block
Benjamin Peterson [Fri, 17 May 2013 00:38:22 +0000 (19:38 -0500)] 
move definition to top of block

12 years agoIssue #17981: Closed socket on error in SysLogHandler.
Vinay Sajip [Thu, 16 May 2013 21:57:02 +0000 (22:57 +0100)] 
Issue #17981: Closed socket on error in SysLogHandler.

12 years agoC89 declaration compliance
Benjamin Peterson [Thu, 16 May 2013 20:29:44 +0000 (15:29 -0500)] 
C89 declaration compliance

12 years agoAdd Nick Sloan for his contribution to #17732
Brian Curtin [Thu, 16 May 2013 16:59:29 +0000 (11:59 -0500)] 
Add Nick Sloan for his contribution to #17732

12 years agocomplain about "global __class__" in a class body (closes #17983)
Benjamin Peterson [Wed, 15 May 2013 21:17:25 +0000 (16:17 -0500)] 
complain about "global __class__" in a class body (closes #17983)

12 years agopost-release update.
Georg Brandl [Wed, 15 May 2013 17:42:39 +0000 (19:42 +0200)] 
post-release update.

12 years ago- Fix typos in the multiprocessing module.
doko@ubuntu.com [Wed, 15 May 2013 16:06:56 +0000 (18:06 +0200)] 
- Fix typos in the multiprocessing module.

12 years ago- Issue #17754: Make ctypes.util.find_library() independent of the locale.
doko@ubuntu.com [Wed, 15 May 2013 16:02:13 +0000 (18:02 +0200)] 
- Issue #17754: Make ctypes.util.find_library() independent of the locale.

12 years agoMisc/NEWS: Add 3.3.3 section and move entries made after the 3.3.2 release
doko@ubuntu.com [Wed, 15 May 2013 16:00:05 +0000 (18:00 +0200)] 
Misc/NEWS: Add 3.3.3 section and move entries made after the 3.3.2 release
to the new section.

12 years agowhen arguments are cells clear the locals slot (backport of #17927)
Benjamin Peterson [Wed, 15 May 2013 03:31:26 +0000 (22:31 -0500)] 
when arguments are cells clear the locals slot (backport of #17927)

12 years ago- Issue #17977: The documentation for the cadefault argument's default value
Barry Warsaw [Tue, 14 May 2013 15:35:16 +0000 (11:35 -0400)] 
- Issue #17977: The documentation for the cadefault argument's default value
  in urllib.request.urlopen() is fixed to match the code.

12 years agoprevent double free in cleanup code (#17968)
Benjamin Peterson [Tue, 14 May 2013 00:55:40 +0000 (19:55 -0500)] 
prevent double free in cleanup code (#17968)

12 years agoFix ResourceWarnings in test_sax
Antoine Pitrou [Mon, 13 May 2013 20:34:21 +0000 (22:34 +0200)] 
Fix ResourceWarnings in test_sax

12 years agoSilence unclosed open file ResourceWarning.
Terry Jan Reedy [Mon, 13 May 2013 20:07:44 +0000 (16:07 -0400)] 
Silence unclosed open file ResourceWarning.

12 years agoComplete 2 to 3 conversion
Terry Jan Reedy [Mon, 13 May 2013 19:39:24 +0000 (15:39 -0400)] 
Complete 2 to 3 conversion

12 years agoIssue #17968: Fix memory leak in os.listxattr().
Antoine Pitrou [Mon, 13 May 2013 17:46:29 +0000 (19:46 +0200)] 
Issue #17968: Fix memory leak in os.listxattr().

12 years agouse correct format code for exceptions
Benjamin Peterson [Mon, 13 May 2013 00:01:52 +0000 (19:01 -0500)] 
use correct format code for exceptions

12 years agoAdded tag v3.3.2 for changeset d047928ae3f6
Georg Brandl [Sun, 12 May 2013 17:55:55 +0000 (19:55 +0200)] 
Added tag v3.3.2 for changeset d047928ae3f6

12 years agoCloses #17962: Build with OpenSSL 1.0.1e on Windows. v3.3.2
Georg Brandl [Sun, 12 May 2013 17:50:34 +0000 (19:50 +0200)] 
Closes #17962: Build with OpenSSL 1.0.1e on Windows.

12 years agomerge
Georg Brandl [Sun, 12 May 2013 17:44:21 +0000 (19:44 +0200)] 
merge

12 years agoIssue #17606: Fixed support of encoded byte strings in the XMLGenerator
Serhiy Storchaka [Sun, 12 May 2013 14:31:16 +0000 (17:31 +0300)] 
Issue #17606: Fixed support of encoded byte strings in the XMLGenerator
characters() and ignorableWhitespace() methods.  Original patch by Sebastian
Ortiz Vasquez.

12 years agobump to 3.3.2
Georg Brandl [Sun, 12 May 2013 10:51:38 +0000 (12:51 +0200)] 
bump to 3.3.2

12 years agoCloses issue #17732: ignore install-directory specific options in
Georg Brandl [Sun, 12 May 2013 10:36:07 +0000 (12:36 +0200)] 
Closes issue #17732: ignore install-directory specific options in
distutils.cfg when a venv is active.

12 years agoBack out patch for #1159051, which caused backwards compatibility problems.
Georg Brandl [Sun, 12 May 2013 09:57:26 +0000 (11:57 +0200)] 
Back out patch for #1159051, which caused backwards compatibility problems.

12 years agomerge with 3.2
Georg Brandl [Sun, 12 May 2013 09:52:22 +0000 (11:52 +0200)] 
merge with 3.2

12 years agomerge with 3.2
Georg Brandl [Sun, 12 May 2013 09:51:26 +0000 (11:51 +0200)] 
merge with 3.2

12 years agoIssue #17915: Fix interoperability of xml.sax with file objects returned by
Georg Brandl [Sun, 12 May 2013 09:41:12 +0000 (11:41 +0200)] 
Issue #17915: Fix interoperability of xml.sax with file objects returned by
codecs.open().

12 years agoIssue #1159051: Back out a fix for handling corrupted gzip files that
Georg Brandl [Sun, 12 May 2013 09:29:27 +0000 (11:29 +0200)] 
Issue #1159051: Back out a fix for handling corrupted gzip files that
broke backwards compatibility.

12 years agomerge heads
Georg Brandl [Sun, 12 May 2013 09:24:47 +0000 (11:24 +0200)] 
merge heads

12 years agoprevent IDLE from trying to close when sys.stdin is reassigned (#17838)
Benjamin Peterson [Sun, 12 May 2013 03:24:28 +0000 (22:24 -0500)] 
prevent IDLE from trying to close when sys.stdin is reassigned (#17838)

12 years agoonly close non-None files
Benjamin Peterson [Sat, 11 May 2013 21:29:03 +0000 (16:29 -0500)] 
only close non-None files

12 years ago-Wformat is needed by gcc 4.8 (closes #17547)
Benjamin Peterson [Sat, 11 May 2013 18:00:05 +0000 (13:00 -0500)] 
-Wformat is needed by gcc 4.8 (closes #17547)

12 years agoIssue #17237: Fix crash in the ASCII decoder on m68k.
Antoine Pitrou [Sat, 11 May 2013 13:58:34 +0000 (15:58 +0200)] 
Issue #17237: Fix crash in the ASCII decoder on m68k.

12 years agoI was confused before. It's correct to not call .close() inside the with
Barry Warsaw [Fri, 10 May 2013 15:35:38 +0000 (11:35 -0400)] 
I was confused before.  It's correct to not call .close() inside the with
statement, but add a comment that clarifies the purpose of the code.

12 years ago#17841: remove missing codecs aliases from the documentation. Patch by Thomas Fenzl.
Ezio Melotti [Fri, 10 May 2013 02:21:35 +0000 (05:21 +0300)] 
#17841: remove missing codecs aliases from the documentation.  Patch by Thomas Fenzl.

12 years ago#17700: update the curses HOWTO for 3.x
Andrew Kuchling [Fri, 10 May 2013 00:05:20 +0000 (20:05 -0400)] 
#17700: update the curses HOWTO for 3.x

12 years ago#17938: remove duplicate paragraphs.
Ezio Melotti [Thu, 9 May 2013 12:33:53 +0000 (15:33 +0300)] 
#17938: remove duplicate paragraphs.

12 years ago#17809: fix a test failure in test_expanduser when $HOME has a trailing /. Patch...
Ezio Melotti [Thu, 9 May 2013 12:19:45 +0000 (15:19 +0300)] 
#17809: fix a test failure in test_expanduser when $HOME has a trailing /.  Patch by Kubilay Kocak.

12 years agoIssue #16601: Restarting iteration over tarfile no more continues from where
Serhiy Storchaka [Thu, 9 May 2013 11:22:26 +0000 (14:22 +0300)] 
Issue #16601: Restarting iteration over tarfile no more continues from where
it left off.  Patch by Michael Birtwell.

12 years ago#17877: skip test if the Olson's TZ database is missing.
Ezio Melotti [Wed, 8 May 2013 08:16:02 +0000 (11:16 +0300)] 
#17877: skip test if the Olson's TZ database is missing.

12 years ago#16523: improve attrgetter/itemgetter/methodcaller documentation.
Ezio Melotti [Wed, 8 May 2013 07:53:11 +0000 (10:53 +0300)] 
#16523: improve attrgetter/itemgetter/methodcaller documentation.

12 years ago#17714: document that the base64 codec adds a trailing newline.
Ezio Melotti [Tue, 7 May 2013 08:14:27 +0000 (11:14 +0300)] 
#17714: document that the base64 codec adds a trailing newline.

12 years ago#17871: fix unittest.TextTestRunner signature in the docs. Patch by Yogesh Chaudhari.
Ezio Melotti [Tue, 7 May 2013 06:46:30 +0000 (09:46 +0300)] 
#17871: fix unittest.TextTestRunner signature in the docs.  Patch by Yogesh Chaudhari.

12 years agoIssue 17920: Fix-up terminology in the set documentation
Raymond Hettinger [Tue, 7 May 2013 01:22:43 +0000 (18:22 -0700)] 
Issue 17920:  Fix-up terminology in the set documentation

12 years agoIssue #17289: The readline module now plays nicer with external modules or applicatio...
Antoine Pitrou [Mon, 6 May 2013 19:51:03 +0000 (21:51 +0200)] 
Issue #17289: The readline module now plays nicer with external modules or applications changing the rl_completer_word_break_characters global variable.
Initial patch by Bradley Froehle.

12 years agoIssue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit
Charles-Francois Natali [Mon, 6 May 2013 19:24:31 +0000 (21:24 +0200)] 
Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit
platforms. Patch by Federico Schwindt.

12 years ago#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb...
David Malcolm [Mon, 6 May 2013 18:47:15 +0000 (14:47 -0400)] 
#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)

12 years ago#14187: Add glossary entry for 'function annotations'.
R David Murray [Mon, 6 May 2013 16:58:16 +0000 (12:58 -0400)] 
#14187: Add glossary entry for 'function annotations'.

Patch by Chris Rebert.

12 years agoIssue #17805: Add AsyncResult alias for ApplyResult
Richard Oudkerk [Mon, 6 May 2013 11:10:04 +0000 (12:10 +0100)] 
Issue #17805: Add AsyncResult alias for ApplyResult

12 years ago#13495: Avoid loading the color delegator twice in IDLE.
Roger Serwy [Mon, 6 May 2013 03:15:44 +0000 (22:15 -0500)] 
#13495: Avoid loading the color delegator twice in IDLE.

12 years agoIssue 17862: Improve the signature of itertools grouper() recipe.
Raymond Hettinger [Mon, 6 May 2013 02:53:41 +0000 (19:53 -0700)] 
Issue 17862:  Improve the signature of itertools grouper() recipe.

Putting *n* after the *iterable* matches the signature of other itertools
and recipes.  Also, it reads better.

Suggested by Ezio Melotti.

12 years ago#17798: Allow IDLE to edit new files when specified on command line.
Roger Serwy [Sun, 5 May 2013 16:34:21 +0000 (11:34 -0500)] 
#17798: Allow IDLE to edit new files when specified on command line.

12 years agoFix crash caused by 8c1385205a35
Antoine Pitrou [Sun, 5 May 2013 06:12:42 +0000 (08:12 +0200)] 
Fix crash caused by 8c1385205a35
(thanks Arfrever for reporting).

12 years agoFix a test to not use an assertion for something that could be
Brett Cannon [Sat, 4 May 2013 22:11:12 +0000 (18:11 -0400)] 
Fix a test to not use an assertion for something that could be
legitimately false.

12 years agoIssue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.
Antoine Pitrou [Sat, 4 May 2013 21:16:59 +0000 (23:16 +0200)] 
Issue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.

12 years agoIssue #17408: Avoid using an obsolete instance of the copyreg module when the interpr...
Antoine Pitrou [Sat, 4 May 2013 18:45:02 +0000 (20:45 +0200)] 
Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.

12 years agoElaborate on bytes-like objects.
Antoine Pitrou [Sat, 4 May 2013 18:18:34 +0000 (20:18 +0200)] 
Elaborate on bytes-like objects.

12 years ago#16518: use "bytes-like object" throughout the docs.
Ezio Melotti [Sat, 4 May 2013 15:06:34 +0000 (18:06 +0300)] 
#16518: use "bytes-like object" throughout the docs.

12 years ago#7855: Add tests for ctypes/winreg for issues found in IronPython. Initial patch...
Ezio Melotti [Sat, 4 May 2013 14:46:23 +0000 (17:46 +0300)] 
#7855: Add tests for ctypes/winreg for issues found in IronPython.  Initial patch by Dino Viehland.

12 years agoIssue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
Serhiy Storchaka [Sat, 4 May 2013 12:12:55 +0000 (15:12 +0300)] 
Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.

12 years agoIssue #15902: Fix imp.load_module() to accept None as a file when
Brett Cannon [Fri, 3 May 2013 14:37:08 +0000 (10:37 -0400)] 
Issue #15902: Fix imp.load_module() to accept None as a file when
trying to load an extension module.

While at it, also add a proper unittest.skipIf() guard to another test
involving imp.load_dynamic().

12 years agoIssue #15535: Fix pickling of named tuples.
Raymond Hettinger [Fri, 3 May 2013 09:24:15 +0000 (02:24 -0700)] 
Issue #15535:  Fix pickling of named tuples.

12 years ago#17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow.
Ezio Melotti [Wed, 1 May 2013 13:18:25 +0000 (16:18 +0300)] 
#17802: Fix an UnboundLocalError in html.parser.  Initial tests by Thomas Barlow.

12 years agoIssue #17529: Fix os.sendfile() documentation regarding the type of file
Charles-Francois Natali [Wed, 1 May 2013 13:12:20 +0000 (15:12 +0200)] 
Issue #17529: Fix os.sendfile() documentation regarding the type of file
descriptor supported.

12 years agoIssue #17712: Fix test_gdb failures on Ubuntu 13.04.
Antoine Pitrou [Tue, 30 Apr 2013 22:15:44 +0000 (00:15 +0200)] 
Issue #17712: Fix test_gdb failures on Ubuntu 13.04.

12 years ago#16518: add "bytes-like object" to the glossary.
Ezio Melotti [Tue, 30 Apr 2013 20:33:31 +0000 (23:33 +0300)] 
#16518: add "bytes-like object" to the glossary.

12 years ago#17881: clarify documentation of plistlib.
Ezio Melotti [Tue, 30 Apr 2013 13:34:04 +0000 (16:34 +0300)] 
#17881: clarify documentation of plistlib.

12 years agofix the news entry, the description in 3.3 should be different
Gregory P. Smith [Tue, 30 Apr 2013 08:01:54 +0000 (01:01 -0700)] 
fix the news entry, the description in 3.3 should be different
than the one merged from 3.2 to match the actual changes here.

12 years agonews entry
Gregory P. Smith [Tue, 30 Apr 2013 07:58:24 +0000 (00:58 -0700)] 
news entry

12 years agonews entry
Gregory P. Smith [Tue, 30 Apr 2013 07:57:18 +0000 (00:57 -0700)] 
news entry