Commit graph

30867 commits

Author SHA1 Message Date
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
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
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
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
Serhiy Storchaka
7b07873b93 Add tests for raw-unicode-escape codec. 2013-01-29 11:41:34 +02:00
Serhiy Storchaka
799fd9c877 Add tests for raw-unicode-escape codec. 2013-01-29 11:41:01 +02:00
Serhiy Storchaka
c9c4338e2b Add tests for raw-unicode-escape codec. 2013-01-29 11:40:00 +02:00
Serhiy Storchaka
d8f07cd374 Clean up escape-decode decoder tests. 2013-01-29 11:08:06 +02:00
Serhiy Storchaka
db6add7d71 Clean up escape-decode decoder tests. 2013-01-29 11:07:27 +02:00
Serhiy Storchaka
077cb347a9 Clean up escape-decode decoder tests. 2013-01-29 11:06:53 +02:00
Serhiy Storchaka
8fe5a9f9c3 Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. 2013-01-29 10:37:39 +02:00
Serhiy Storchaka
24193debd4 Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. 2013-01-29 10:28:07 +02:00
Serhiy Storchaka
d679377be7 Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. 2013-01-29 10:20:44 +02:00
Serhiy Storchaka
238a617581 Fix skip conditions in some docstings tests. 2013-01-28 13:27:02 +02:00
Serhiy Storchaka
a4fdd599e2 Fix skip conditions in some docstings tests. 2013-01-28 13:26:25 +02:00
Serhiy Storchaka
8e0ae2a4f0 Fix skip conditions in some docstings tests. 2013-01-28 13:25:44 +02:00
Brett Cannon
a66c2eec50 Tweak a comment to be in line with Python 3 2013-01-27 18:58:20 -05:00
Brett Cannon
e4291fa600 merge 2013-01-27 13:08:40 -05:00
Brett Cannon
f3220d6af7 Tweak an exception message 2013-01-27 13:04:56 -05:00
Serhiy Storchaka
f011881d7d Issue #17041: Fix testing when Python is configured with the
--without-doc-strings.
2013-01-27 20:04:26 +02:00
Serhiy Storchaka
26f1166510 Issue #17041: Fix testing when Python is configured with the
--without-doc-strings.
2013-01-27 20:03:39 +02:00
Serhiy Storchaka
9d0add0c7e Issue #17041: Fix testing when Python is configured with the
--without-doc-strings.
2013-01-27 19:47:45 +02:00
Nadeem Vawda
ef0a44c629 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.
2013-01-27 14:17:21 +01:00
Nadeem Vawda
60cc32382f 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.
2013-01-27 14:13:25 +01:00
Nadeem Vawda
6f02ea02c8 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.
2013-01-27 14:01:42 +01:00
Mark Dickinson
07c7136524 Issue #16772: in int(x, base), non-integer bases must have an __index__ method. 2013-01-27 10:17:52 +00:00
Ezio Melotti
3a62e45b97 Merge typo fixes from 3.3. 2013-01-27 06:20:51 +02:00
Ezio Melotti
3f5db3940f Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
Brett Cannon
e103d689ac merge 2013-01-26 08:49:53 -05:00
Brett Cannon
14581d5dc4 Port py_compile over to importlib 2013-01-26 08:48:36 -05:00
Stefan Krah
2d7ee47e42 Merge 3.3. 2013-01-26 13:58:00 +01:00
Stefan Krah
fb931902c8 Fix test_pydoc for build --without-doc-strings. 2013-01-26 13:57:15 +01:00
Stefan Krah
c4a10f5970 Merge 3.3. 2013-01-26 13:07:36 +01:00
Stefan Krah
6e572b8b2e Adapt test_bytes for a build --without-doc-strings. 2013-01-26 13:06:36 +01:00
Serhiy Storchaka
dd399af438 Optimize the test for issue #13454.
Now it requires almost 4x less memory and is almost 2x faster.
2013-01-26 11:54:27 +02:00
Serhiy Storchaka
1c7181d764 Optimize the test for issue #13454.
Now it requires almost 4x less memory and is almost 2x faster.
2013-01-26 11:53:17 +02:00
Serhiy Storchaka
5bb893c44b Optimize the test for issue #13454.
Now it requires almost 4x less memory and is almost 2x faster.
2013-01-26 11:52:06 +02:00
Brett Cannon
80512de43b Skip a test unless the network resource is available. 2013-01-25 22:27:21 -05:00
Serhiy Storchaka
f584aba3a5 Issue #16975: Fix error handling bug in the escape-decode bytes decoder. 2013-01-25 23:33:22 +02:00
Serhiy Storchaka
e58785b200 Issue #16975: Fix error handling bug in the escape-decode bytes decoder. 2013-01-25 23:32:41 +02:00
Serhiy Storchaka
ace3ad3bf7 Issue #16975: Fix error handling bug in the escape-decode bytes decoder. 2013-01-25 23:31:43 +02:00
Brett Cannon
13252b8770 Issue #16972: Have site.addpackage() consider known paths even when
none are explicitly passed in.
2013-01-25 13:57:16 -05:00