]> granicus.if.org Git - python/log
python
12 years agoIssue #15587: merge from 3.3
Ned Deily [Sat, 2 Feb 2013 07:17:34 +0000 (23:17 -0800)]
Issue #15587: merge from 3.3

12 years agoIssue #15587: merge from 3.2
Ned Deily [Sat, 2 Feb 2013 07:15:51 +0000 (23:15 -0800)]
Issue #15587: merge from 3.2

12 years agoIssue #15587: Enable Tk high-resolution text rendering on Macs with
Ned Deily [Sat, 2 Feb 2013 07:12:42 +0000 (23:12 -0800)]
Issue #15587: Enable Tk high-resolution text rendering on Macs with
Retina displays.  Applies to Tkinter apps, such as IDLE, on OS X
framework builds linked with Cocoa Tk 8.5+.
Suggested by Kevin Walzer

12 years agoIn the _hashlib module, only initialize the static data for OpenSSL's
Gregory P. Smith [Sat, 2 Feb 2013 01:07:56 +0000 (17:07 -0800)]
In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.

12 years agoIn the _hashlib module, only initialize the static data for OpenSSL's
Gregory P. Smith [Sat, 2 Feb 2013 01:07:39 +0000 (17:07 -0800)]
In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.

12 years agoIn the _hashlib module, only initialize the static data for OpenSSL's
Gregory P. Smith [Sat, 2 Feb 2013 01:05:29 +0000 (17:05 -0800)]
In the _hashlib module, only initialize the static data for OpenSSL's
constructors once, to avoid memory leaks when finalizing and re-initializing
the Python interpreter.

12 years agonull merge from 3.3
Gregory P. Smith [Sat, 2 Feb 2013 00:15:45 +0000 (16:15 -0800)]
null merge from 3.3

12 years agonull merge from 3.2 (3.3's code already refactored)
Gregory P. Smith [Sat, 2 Feb 2013 00:15:01 +0000 (16:15 -0800)]
null merge from 3.2 (3.3's code already refactored)

12 years agoSilence a -Wformat-extra-argument warning when compiling.
Gregory P. Smith [Sat, 2 Feb 2013 00:14:00 +0000 (16:14 -0800)]
Silence a -Wformat-extra-argument warning when compiling.

12 years agoIssue #16256: merge from 3.3
Ned Deily [Fri, 1 Feb 2013 22:06:24 +0000 (14:06 -0800)]
Issue #16256: merge from 3.3

12 years agoIssue #16256: merge from 3.2
Ned Deily [Fri, 1 Feb 2013 22:05:26 +0000 (14:05 -0800)]
Issue #16256: merge from 3.2

12 years agoIssue #16256: OS X installer now sets correct permissions for doc directory.
Ned Deily [Fri, 1 Feb 2013 21:59:42 +0000 (13:59 -0800)]
Issue #16256: OS X installer now sets correct permissions for doc directory.

12 years agomerge from 3.3
Brett Cannon [Fri, 1 Feb 2013 21:39:50 +0000 (16:39 -0500)]
merge from 3.3

12 years agomerge
Brett Cannon [Fri, 1 Feb 2013 21:37:07 +0000 (16:37 -0500)]
merge

12 years agomerge
Brett Cannon [Fri, 1 Feb 2013 21:36:49 +0000 (16:36 -0500)]
merge

12 years agoMerge w/ 3.3 more fixes thanks to issue #17098
Brett Cannon [Fri, 1 Feb 2013 21:36:29 +0000 (16:36 -0500)]
Merge w/ 3.3 more fixes thanks to issue #17098

12 years agoAdditional fix for issue #12268: The io module file object write methods no
Gregory P. Smith [Fri, 1 Feb 2013 21:10:33 +0000 (13:10 -0800)]
Additional fix for issue #12268: The io module file object write methods no
longer abort early when a write system call is interrupted (EINTR).

12 years agonull merge
Gregory P. Smith [Fri, 1 Feb 2013 21:08:51 +0000 (13:08 -0800)]
null merge

12 years agoAdditional fix for issue #12268: The io module file object write methods no
Gregory P. Smith [Fri, 1 Feb 2013 21:08:23 +0000 (13:08 -0800)]
Additional fix for issue #12268: The io module file object write methods no
longer abort early when a write system call is interrupted (EINTR).

12 years agobetter corrected news entry
Gregory P. Smith [Fri, 1 Feb 2013 21:06:44 +0000 (13:06 -0800)]
better corrected news entry

12 years agoAdditional fix for Issue #12268: The io module file object writelines() methods no...
Gregory P. Smith [Fri, 1 Feb 2013 21:03:39 +0000 (13:03 -0800)]
Additional fix for Issue #12268: The io module file object writelines() methods no longer abort early when one of its write system calls is interrupted (EINTR).

12 years agoIssue #17098: Be more stringent of setting __loader__ on early imported
Brett Cannon [Fri, 1 Feb 2013 20:31:49 +0000 (15:31 -0500)]
Issue #17098: Be more stringent of setting __loader__ on early imported
modules. Also made test more rigorous.

12 years agomerge with 3.3
Brett Cannon [Fri, 1 Feb 2013 19:51:43 +0000 (14:51 -0500)]
merge with 3.3

12 years agoAdd a test for fix of issue #17098
Brett Cannon [Fri, 1 Feb 2013 19:43:59 +0000 (14:43 -0500)]
Add a test for fix of issue #17098

12 years agoFixes Issue #6972: The zipfile module no longer overwrites files outside of
Gregory P. Smith [Fri, 1 Feb 2013 19:35:00 +0000 (11:35 -0800)]
Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.

12 years agoFixes Issue #6972: The zipfile module no longer overwrites files outside of
Gregory P. Smith [Fri, 1 Feb 2013 19:31:31 +0000 (11:31 -0800)]
Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.

12 years agoFixes Issue #6972: The zipfile module no longer overwrites files outside of
Gregory P. Smith [Fri, 1 Feb 2013 19:22:43 +0000 (11:22 -0800)]
Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.

12 years agoIssue #17098: all modules should have __loader__
Brett Cannon [Fri, 1 Feb 2013 19:07:28 +0000 (14:07 -0500)]
Issue #17098: all modules should have __loader__

12 years agoIssue #17098: Make sure every module has __loader__ defined.
Brett Cannon [Fri, 1 Feb 2013 19:04:12 +0000 (14:04 -0500)]
Issue #17098: Make sure every module has __loader__ defined.

Thanks to Thomas Heller for the bug report.

12 years agoIssue #1783: Remove declarations of nonexistent private variables.
Serhiy Storchaka [Fri, 1 Feb 2013 11:15:17 +0000 (13:15 +0200)]
Issue #1783: Remove declarations of nonexistent private variables.

12 years agoIssue #1783: Remove declarations of nonexistent private variables.
Serhiy Storchaka [Fri, 1 Feb 2013 11:14:47 +0000 (13:14 +0200)]
Issue #1783: Remove declarations of nonexistent private variables.

12 years agoIssue #1783: Remove declarations of nonexistent private variables.
Serhiy Storchaka [Fri, 1 Feb 2013 11:14:20 +0000 (13:14 +0200)]
Issue #1783: Remove declarations of nonexistent private variables.

12 years ago#16128: merge with 3.3.
Ezio Melotti [Fri, 1 Feb 2013 03:20:20 +0000 (05:20 +0200)]
#16128: merge with 3.3.

12 years ago#16128: merge with 3.2.
Ezio Melotti [Fri, 1 Feb 2013 03:20:06 +0000 (05:20 +0200)]
#16128: merge with 3.2.

12 years ago#16128: clarify that instances of user-defined classes compare equal with themselves.
Ezio Melotti [Fri, 1 Feb 2013 03:18:44 +0000 (05:18 +0200)]
#16128: clarify that instances of user-defined classes compare equal with themselves.

12 years ago#17040: document that shelve.open() and the Shelf object can be used as context manag...
Ezio Melotti [Fri, 1 Feb 2013 03:01:50 +0000 (05:01 +0200)]
#17040: document that shelve.open() and the Shelf object can be used as context managers.  Initial patch by Berker Peksag.

12 years agoIssue #17041: Fix doctesting when Python is configured with the
Serhiy Storchaka [Thu, 31 Jan 2013 14:11:47 +0000 (16:11 +0200)]
Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.

12 years agoIssue #17041: Fix doctesting when Python is configured with the
Serhiy Storchaka [Thu, 31 Jan 2013 14:11:28 +0000 (16:11 +0200)]
Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.

12 years agoIssue #17041: Fix doctesting when Python is configured with the
Serhiy Storchaka [Thu, 31 Jan 2013 14:11:04 +0000 (16:11 +0200)]
Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.

12 years agoAdded test to ensure localized calendar methods return strings and not bytes.
Serhiy Storchaka [Thu, 31 Jan 2013 14:01:46 +0000 (16:01 +0200)]
Added test to ensure localized calendar methods return strings and not bytes.

12 years agoAdded test to ensure localized calendar methods return strings and not bytes.
Serhiy Storchaka [Thu, 31 Jan 2013 14:01:21 +0000 (16:01 +0200)]
Added test to ensure localized calendar methods return strings and not bytes.

12 years agoAdded test to ensure localized calendar methods return strings and not bytes.
Serhiy Storchaka [Thu, 31 Jan 2013 14:00:42 +0000 (16:00 +0200)]
Added test to ensure localized calendar methods return strings and not bytes.

12 years agoIssue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
Serhiy Storchaka [Thu, 31 Jan 2013 13:30:36 +0000 (15:30 +0200)]
Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
incomplete "End of Central Directory" record.  Original patch by Guilherme
Polo and Alan McIntyre.

12 years agoIssue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
Serhiy Storchaka [Thu, 31 Jan 2013 13:29:20 +0000 (15:29 +0200)]
Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
incomplete "End of Central Directory" record.  Original patch by Guilherme
Polo and Alan McIntyre.

12 years agoIssue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
Serhiy Storchaka [Thu, 31 Jan 2013 13:27:07 +0000 (15:27 +0200)]
Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
incomplete "End of Central Directory" record.  Original patch by Guilherme
Polo and Alan McIntyre.

12 years agonull merge
Ned Deily [Thu, 31 Jan 2013 09:36:22 +0000 (01:36 -0800)]
null merge

12 years agonull merge
Ned Deily [Thu, 31 Jan 2013 09:34:02 +0000 (01:34 -0800)]
null merge

12 years agoIssue #13590: OS X Xcode 4 - improve support for universal extension modules
Ned Deily [Thu, 31 Jan 2013 09:28:23 +0000 (01:28 -0800)]
Issue #13590: OS X Xcode 4 - improve support for universal extension modules
    In particular, fix extension module build failures when trying to use
    32-bit-only installer Pythons on systems with Xcode 4 (currently
    OS X 10.8, 10.7, and optionally 10.6).
    * Backport 3.3.0 fixes to 3.2 branch (for release in 3.2.4)
    * Since Xcode 4 removes ppc support, extension module builds now
      check for ppc compiler support and by default remove ppc and
      ppc64 archs when they are not available.
    * Extension module builds now revert to using system installed
      headers and libs (/usr and /System/Library) if the SDK used
      to build the interpreter is not installed or has moved.
    * Try to avoid building extension modules with deprecated
      and problematic Apple llvm-gcc compiler.  If original compiler
      is not available, use clang instead by default.

12 years agoUpdated NEWS with fix for #17028.
Vinay Sajip [Wed, 30 Jan 2013 22:26:49 +0000 (22:26 +0000)]
Updated NEWS with fix for #17028.

12 years agoMerged documentation update from 3.3.
Vinay Sajip [Wed, 30 Jan 2013 13:44:34 +0000 (13:44 +0000)]
Merged documentation update from 3.3.

12 years agoUpdated venv documentation with an example.
Vinay Sajip [Wed, 30 Jan 2013 13:44:00 +0000 (13:44 +0000)]
Updated venv documentation with an example.

12 years agoMerge
Michael Foord [Tue, 29 Jan 2013 23:18:48 +0000 (23:18 +0000)]
Merge

12 years agoMerge
Michael Foord [Tue, 29 Jan 2013 23:14:59 +0000 (23:14 +0000)]
Merge

12 years agoCloses issue 15505. unittest.installHandler and non-callable signal handlers.
Michael Foord [Tue, 29 Jan 2013 23:07:57 +0000 (23:07 +0000)]
Closes issue 15505. unittest.installHandler and non-callable signal handlers.

12 years agoFix compilation error under Windows.
Vinay Sajip [Tue, 29 Jan 2013 22:52:57 +0000 (22:52 +0000)]
Fix compilation error under Windows.

12 years agoCloses #17028: Allowed Python arguments to be supplied to launcher.
Vinay Sajip [Tue, 29 Jan 2013 22:29:25 +0000 (22:29 +0000)]
Closes #17028: Allowed Python arguments to be supplied to launcher.

12 years agoIssue #17071: Signature.bind() now works when one of the keyword arguments is named...
Antoine Pitrou [Tue, 29 Jan 2013 20:21:56 +0000 (21:21 +0100)]
Issue #17071: Signature.bind() now works when one of the keyword arguments is named self.

12 years agoIssue #17071: Signature.bind() now works when one of the keyword arguments is named...
Antoine Pitrou [Tue, 29 Jan 2013 20:20:57 +0000 (21:20 +0100)]
Issue #17071: Signature.bind() now works when one of the keyword arguments is named ``self``.

12 years agoIssue #12004: Fix an internal error in PyZipFile when writing an invalid
Serhiy Storchaka [Tue, 29 Jan 2013 18:15:45 +0000 (20:15 +0200)]
Issue #12004: Fix an internal error in PyZipFile when writing an invalid
Python file.  Patch by Ben Morgan.

12 years agoIssue #12004: Fix an internal error in PyZipFile when writing an invalid
Serhiy Storchaka [Tue, 29 Jan 2013 18:14:08 +0000 (20:14 +0200)]
Issue #12004: Fix an internal error in PyZipFile when writing an invalid
Python file.  Patch by Ben Morgan.

12 years agoIssue #12004: Fix an internal error in PyZipFile when writing an invalid
Serhiy Storchaka [Tue, 29 Jan 2013 18:10:28 +0000 (20:10 +0200)]
Issue #12004: Fix an internal error in PyZipFile when writing an invalid
Python file.  Patch by Ben Morgan.

12 years agoIdentify the ARM compiler.
Martin v. Löwis [Tue, 29 Jan 2013 17:17:05 +0000 (18:17 +0100)]
Identify the ARM compiler.

12 years agoIssue #16971: Fix a refleak in the charmap decoder.
Serhiy Storchaka [Tue, 29 Jan 2013 10:16:57 +0000 (12:16 +0200)]
Issue #16971: Fix a refleak in the charmap decoder.

12 years agoIssue #16971: Fix a refleak in the charmap decoder.
Serhiy Storchaka [Tue, 29 Jan 2013 10:13:22 +0000 (12:13 +0200)]
Issue #16971: Fix a refleak in the charmap decoder.

12 years agoMove NEWS entity from library to core section.
Serhiy Storchaka [Tue, 29 Jan 2013 10:07:03 +0000 (12:07 +0200)]
Move NEWS entity from library to core section.

12 years agoMove NEWS entity from library to core section.
Serhiy Storchaka [Tue, 29 Jan 2013 10:06:28 +0000 (12:06 +0200)]
Move NEWS entity from library to core section.

12 years agoMove NEWS entity from library to core section.
Serhiy Storchaka [Tue, 29 Jan 2013 10:05:46 +0000 (12:05 +0200)]
Move NEWS entity from library to core section.

12 years agoAdd tests for raw-unicode-escape codec.
Serhiy Storchaka [Tue, 29 Jan 2013 09:41:34 +0000 (11:41 +0200)]
Add tests for raw-unicode-escape codec.

12 years agoAdd tests for raw-unicode-escape codec.
Serhiy Storchaka [Tue, 29 Jan 2013 09:41:01 +0000 (11:41 +0200)]
Add tests for raw-unicode-escape codec.

12 years agoAdd tests for raw-unicode-escape codec.
Serhiy Storchaka [Tue, 29 Jan 2013 09:40:00 +0000 (11:40 +0200)]
Add tests for raw-unicode-escape codec.

12 years agoClean up escape-decode decoder tests.
Serhiy Storchaka [Tue, 29 Jan 2013 09:08:06 +0000 (11:08 +0200)]
Clean up escape-decode decoder tests.

12 years agoClean up escape-decode decoder tests.
Serhiy Storchaka [Tue, 29 Jan 2013 09:07:27 +0000 (11:07 +0200)]
Clean up escape-decode decoder tests.

12 years agoClean up escape-decode decoder tests.
Serhiy Storchaka [Tue, 29 Jan 2013 09:06:53 +0000 (11:06 +0200)]
Clean up escape-decode decoder tests.

12 years agoNull merge
Serhiy Storchaka [Tue, 29 Jan 2013 08:45:55 +0000 (10:45 +0200)]
Null merge

12 years agoNull merge
Serhiy Storchaka [Tue, 29 Jan 2013 08:44:59 +0000 (10:44 +0200)]
Null merge

12 years agoMerge heads
Serhiy Storchaka [Tue, 29 Jan 2013 08:40:24 +0000 (10:40 +0200)]
Merge heads

12 years agoMerge heads
Serhiy Storchaka [Tue, 29 Jan 2013 08:40:16 +0000 (10:40 +0200)]
Merge heads

12 years agoMerge heads
Serhiy Storchaka [Tue, 29 Jan 2013 08:40:04 +0000 (10:40 +0200)]
Merge heads

12 years agoIssue #16979: Fix error handling bugs in the unicode-escape-decode decoder.
Serhiy Storchaka [Tue, 29 Jan 2013 08:37:39 +0000 (10:37 +0200)]
Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.

12 years agoIssue #16979: Fix error handling bugs in the unicode-escape-decode decoder.
Serhiy Storchaka [Tue, 29 Jan 2013 08:28:07 +0000 (10:28 +0200)]
Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.

12 years agoIssue #16979: Fix error handling bugs in the unicode-escape-decode decoder.
Serhiy Storchaka [Tue, 29 Jan 2013 08:20:44 +0000 (10:20 +0200)]
Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.

12 years agoIssue #14018: merge to default
Ned Deily [Tue, 29 Jan 2013 08:18:52 +0000 (00:18 -0800)]
Issue #14018: merge to default

12 years agoIssue #14018: merge to 3.3
Ned Deily [Tue, 29 Jan 2013 08:17:19 +0000 (00:17 -0800)]
Issue #14018: merge to 3.3

12 years agoIssue #14018: Backport OS X installer updates from 3.3.
Ned Deily [Tue, 29 Jan 2013 08:08:32 +0000 (00:08 -0800)]
Issue #14018: Backport OS X installer updates from 3.3.

12 years agomerge 3.3 (#4590)
Benjamin Peterson [Mon, 28 Jan 2013 23:28:53 +0000 (18:28 -0500)]
merge 3.3 (#4590)

12 years agofix long fixer docs (#4590)
Benjamin Peterson [Mon, 28 Jan 2013 23:28:38 +0000 (18:28 -0500)]
fix long fixer docs (#4590)

12 years agoFix skip conditions in some docstings tests.
Serhiy Storchaka [Mon, 28 Jan 2013 11:27:02 +0000 (13:27 +0200)]
Fix skip conditions in some docstings tests.

12 years agoFix skip conditions in some docstings tests.
Serhiy Storchaka [Mon, 28 Jan 2013 11:26:25 +0000 (13:26 +0200)]
Fix skip conditions in some docstings tests.

12 years agoFix skip conditions in some docstings tests.
Serhiy Storchaka [Mon, 28 Jan 2013 11:25:44 +0000 (13:25 +0200)]
Fix skip conditions in some docstings tests.

12 years agoTweak a comment to be in line with Python 3
Brett Cannon [Sun, 27 Jan 2013 23:58:20 +0000 (18:58 -0500)]
Tweak a comment to be in line with Python 3

12 years agoDrop the concept of Extension Modules from Misc/NEWS; the stdlib is the stdlib regard...
Brett Cannon [Sun, 27 Jan 2013 18:10:33 +0000 (13:10 -0500)]
Drop the concept of Extension Modules from Misc/NEWS; the stdlib is the stdlib regardless of implementation language

12 years agomerge
Brett Cannon [Sun, 27 Jan 2013 18:08:40 +0000 (13:08 -0500)]
merge

12 years agoIgnore generated files related to python-config
Brett Cannon [Sun, 27 Jan 2013 18:08:18 +0000 (13:08 -0500)]
Ignore generated files related to python-config

12 years agoTweak an exception message
Brett Cannon [Sun, 27 Jan 2013 18:04:56 +0000 (13:04 -0500)]
Tweak an exception message

12 years agoIssue #17041: Fix testing when Python is configured with the
Serhiy Storchaka [Sun, 27 Jan 2013 18:04:26 +0000 (20:04 +0200)]
Issue #17041: Fix testing when Python is configured with the
--without-doc-strings.

12 years agoIssue #17041: Fix testing when Python is configured with the
Serhiy Storchaka [Sun, 27 Jan 2013 18:03:39 +0000 (20:03 +0200)]
Issue #17041: Fix testing when Python is configured with the
--without-doc-strings.

12 years agoIssue #17041: Fix testing when Python is configured with the
Serhiy Storchaka [Sun, 27 Jan 2013 17:47:45 +0000 (19:47 +0200)]
Issue #17041: Fix testing when Python is configured with the
--without-doc-strings.

12 years agoIssue #13886: Fix input() to not strip out supposedly-invalid input bytes.
Nadeem Vawda [Sun, 27 Jan 2013 13:17:21 +0000 (14:17 +0100)]
Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.

Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.

12 years agoIssue #13886: Fix input() to not strip out supposedly-invalid input bytes.
Nadeem Vawda [Sun, 27 Jan 2013 13:13:25 +0000 (14:13 +0100)]
Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.

Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.

12 years agoIssue #13886: Fix input() to not strip out supposedly-invalid input bytes.
Nadeem Vawda [Sun, 27 Jan 2013 13:01:42 +0000 (14:01 +0100)]
Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.

Also fix sporadic failures in test_builtin due to dependence on whether the
readline module has previously been imported.