Commit graph

78877 commits

Author SHA1 Message Date
Gregory P. Smith
608cc451c7 Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
2013-02-01 11:40:18 -08:00
Gregory P. Smith
ae42ec8004 Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
2013-02-01 11:35:00 -08:00
Gregory P. Smith
193e1be72d Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
2013-02-01 11:31:31 -08:00
Gregory P. Smith
b47acbf46a Fixes Issue #6972: The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
2013-02-01 11:22:43 -08:00
Brett Cannon
611afc1b3f Issue #17098: all modules should have __loader__ 2013-02-01 14:07:28 -05:00
Brett Cannon
0ecd30b4af Issue #17098: Make sure every module has __loader__ defined.
Thanks to Thomas Heller for the bug report.
2013-02-01 14:04:12 -05:00
Serhiy Storchaka
d7be03aafa Issue #1783: Remove declarations of nonexistent private variables. 2013-02-01 13:15:17 +02:00
Serhiy Storchaka
89fa86b035 Issue #1783: Remove declarations of nonexistent private variables. 2013-02-01 13:14:47 +02:00
Serhiy Storchaka
04d86c7c87 Issue #1783: Remove declarations of nonexistent private variables. 2013-02-01 13:14:20 +02:00
Serhiy Storchaka
f39d52f8cb Issue #1783: Remove declarations of nonexistent private variables. 2013-02-01 13:13:32 +02:00
Ezio Melotti
3182a3e55f #16128: merge with 3.3. 2013-02-01 05:20:20 +02:00
Ezio Melotti
84ad6aea73 #16128: merge with 3.2. 2013-02-01 05:20:06 +02:00
Ezio Melotti
188ad851fb #16128: clarify that instances of user-defined classes compare equal with themselves. 2013-02-01 05:18:44 +02:00
Ezio Melotti
139e445270 #16128: clarify that instances of user-defined classes compare equal with themselves. 2013-02-01 05:18:44 +02:00
Ezio Melotti
d23c0a8992 #17040: document that shelve.open() and the Shelf object can be used as context managers. Initial patch by Berker Peksag. 2013-02-01 05:01:50 +02:00
doko@python.org
d65e2bab3b - Issue #17086: Backport the patches from the 3.3 branch to cross-build
the package.
2013-01-31 23:52:03 +01:00
Serhiy Storchaka
894499fa27 Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.
2013-01-31 16:11:47 +02:00
Serhiy Storchaka
3ff4571af3 Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.
2013-01-31 16:11:28 +02:00
Serhiy Storchaka
9a11f17673 Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.
2013-01-31 16:11:04 +02:00
Serhiy Storchaka
c5200b489d Issue #17041: Fix doctesting when Python is configured with the
--without-doc-strings.
2013-01-31 16:10:15 +02:00
Serhiy Storchaka
f22ba81748 Added test to ensure localized calendar methods return strings and not bytes. 2013-01-31 16:01:46 +02:00
Serhiy Storchaka
cc9e5369d3 Added test to ensure localized calendar methods return strings and not bytes. 2013-01-31 16:01:21 +02:00
Serhiy Storchaka
f9fcdb7e90 Added test to ensure localized calendar methods return strings and not bytes. 2013-01-31 16:00:42 +02:00
Serhiy Storchaka
8d510cd6e1 Issue #17049: Localized calendar methods now return unicode if a locale
includes an encoding and the result string contains month or weekday (was
regression from Python 2.6).
2013-01-31 15:57:51 +02:00
Serhiy Storchaka
db58e15ee5 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.
2013-01-31 15:30:36 +02:00
Serhiy Storchaka
d72bfe9eb9 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.
2013-01-31 15:29:20 +02:00
Serhiy Storchaka
d2b1527f14 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.
2013-01-31 15:27:07 +02:00
Serhiy Storchaka
0be506a5ba 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.
2013-01-31 15:26:55 +02:00
Ned Deily
04e3cca0f9 null merge 2013-01-31 01:36:22 -08:00
Ned Deily
58ed80efa6 null merge 2013-01-31 01:34:02 -08:00
Ned Deily
fc20d77b40 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.
2013-01-31 01:28:23 -08:00
Ned Deily
18fae3f954 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 2.7 branch (for release in 2.7.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.
2013-01-31 01:24:55 -08:00
Vinay Sajip
b5787ef7b4 Updated NEWS with fix for #17028. 2013-01-30 22:26:49 +00:00
Vinay Sajip
05361bab89 Merged documentation update from 3.3. 2013-01-30 13:44:34 +00:00
Vinay Sajip
2b4fcfbbec Updated venv documentation with an example. 2013-01-30 13:44:00 +00:00
Michael Foord
beb29b1f6c Merge 2013-01-29 23:18:48 +00:00
Michael Foord
d1da29c99d Merge 2013-01-29 23:14:59 +00:00
Michael Foord
6debd76939 Closes issue 15505. unittest.installHandler and non-callable signal handlers. 2013-01-29 23:07:57 +00:00
Michael Foord
77cd8aab23 Issue 15505. unittest.installHandler and non callable signal handlers 2013-01-29 22:59:02 +00:00
Vinay Sajip
404229b02d Fix compilation error under Windows. 2013-01-29 22:52:57 +00:00
Vinay Sajip
b322621a53 Added clarification to logging HOWTO. 2013-01-29 22:36:39 +00:00
Vinay Sajip
2ae8c6316f Closes #17028: Allowed Python arguments to be supplied to launcher. 2013-01-29 22:29:25 +00:00
Antoine Pitrou
64a5562f4c Issue #17071: Signature.bind() now works when one of the keyword arguments is named self. 2013-01-29 21:21:56 +01:00
Antoine Pitrou
bd41d1b14c Issue #17071: Signature.bind() now works when one of the keyword arguments is named `self`. 2013-01-29 21:20:57 +01:00
Serhiy Storchaka
f7209225bb Issue #12004: Fix an internal error in PyZipFile when writing an invalid
Python file.  Patch by Ben Morgan.
2013-01-29 20:15:45 +02:00
Serhiy Storchaka
c5b75db5de Issue #12004: Fix an internal error in PyZipFile when writing an invalid
Python file.  Patch by Ben Morgan.
2013-01-29 20:14:08 +02:00
Serhiy Storchaka
45c4375ea7 Issue #12004: Fix an internal error in PyZipFile when writing an invalid
Python file.  Patch by Ben Morgan.
2013-01-29 20:10:28 +02:00
Martin v. Löwis
e5581f9d68 Identify the ARM compiler. 2013-01-29 18:17:05 +01:00
Serhiy Storchaka
2aee6a6460 Issue #16971: Fix a refleak in the charmap decoder. 2013-01-29 12:16:57 +02:00
Serhiy Storchaka
afb1cb5579 Issue #16971: Fix a refleak in the charmap decoder. 2013-01-29 12:13:22 +02:00