Serhiy Storchaka
19c4e0df29
Issue #6083 : Fix multiple segmentation faults occured when PyArg_ParseTuple
...
parses nested mutating sequence.
2013-02-04 12:47:24 +02:00
Serhiy Storchaka
94dc6736bd
Issue #17106 : Fix a segmentation fault in io.TextIOWrapper when an underlying
...
stream or a decoder produces data of an unexpected type (i.e. when
io.TextIOWrapper initialized with text stream or use bytes-to-bytes codec).
2013-02-03 17:03:31 +02:00
Ned Deily
028915e6ea
Issue #16698 : Skip posix test_getgroups when built with OS X
...
deployment target prior to 10.6.
2013-02-02 15:08:52 -08:00
Antoine Pitrou
beec61ae4e
Issue #15633 : httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
2013-02-02 22:49:34 +01:00
Nadeem Vawda
6375257188
Back out fix for issue #13886 ; it introduced a new bug in interactive readline use.
2013-02-02 20:05:11 +01:00
Serhiy Storchaka
e5e6444497
Fix the test for issue #6972 .
...
Remove trailing dots on Windows.
2013-02-02 19:50:59 +02:00
Serhiy Storchaka
1a4ed4ce18
Fix tests for issue #11159 .
2013-02-02 12:17:05 +02:00
Serhiy Storchaka
d52023968a
Issue #11159 : Add tests for testing SAX parser support of non-ascii file names.
2013-02-02 10:31:17 +02: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
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
f9fcdb7e90
Added test to ensure localized calendar methods return strings and not bytes.
2013-01-31 16:00:42 +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
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
c9c4338e2b
Add tests for raw-unicode-escape codec.
2013-01-29 11:40:00 +02:00
Serhiy Storchaka
077cb347a9
Clean up escape-decode decoder tests.
2013-01-29 11:06:53 +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
8e0ae2a4f0
Fix skip conditions in some docstings tests.
2013-01-28 13:25:44 +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
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
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
Serhiy Storchaka
ace3ad3bf7
Issue #16975 : Fix error handling bug in the escape-decode bytes decoder.
2013-01-25 23:31:43 +02:00
Serhiy Storchaka
a3e9128aba
Issue #13454 : Fix a crash when deleting an iterator created by itertools.tee()
...
if all other iterators were very advanced before.
2013-01-25 13:19:31 +02:00
Serhiy Storchaka
2f2dd992a3
Increase the memory limit in the test for issue #16335 .
2013-01-25 10:12:30 +02:00
Senthil Kumaran
6b102f251f
Issue #12411 : Fix to cgi.parse_multipart to correctly use bytes boundaries and
...
bytes data. Patch by Jonas Wagner.
2013-01-23 02:50:15 -08:00
Serhiy Storchaka
7c3922f44c
Issue #1159051 : GzipFile now raises EOFError when reading a corrupted file
...
with truncated header or footer.
Added tests for reading truncated gzip and bzip2 files.
2013-01-22 17:01:59 +02:00
Serhiy Storchaka
e45dac4ea9
Add bigmemtest decorator to test of issue #16335 .
2013-01-21 20:23:58 +02:00
Serhiy Storchaka
3b40b71217
Fix memory error in test_ucn.
...
unicode-escape decoder requires memory for result corresponding to input size.
Fixes test for issue #16335 .
2013-01-21 12:59:13 +02:00
Serhiy Storchaka
4f5f0e54e0
Issue #16335 : Fix integer overflow in unicode-escape decoder.
2013-01-21 11:38:00 +02:00
Serhiy Storchaka
441d30fac7
Issue #15989 : Fix several occurrences of integer overflow
...
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:26:26 +02:00
Antoine Pitrou
b24d0d984c
Remove outdated statement
2013-01-17 23:08:03 +01:00
Frank Wierzbicki
809067c3c5
Closed #16886 : test_dictcomps no longer depends on dict order
2013-01-16 13:55:12 -08:00
Serhiy Storchaka
4fb8caee87
Issue #14850 : Now a chamap decoder treates U+FFFE as "undefined mapping"
...
in any mapping, not only in an unicode string.
2013-01-15 14:43:21 +02:00
Eli Bendersky
b09b167419
Issue #16922 : fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
...
Patch by Serhiy Storchaka.
2013-01-13 05:22:05 -08:00
Charles-François Natali
ce1519d250
test_asyncore: wait explicitly for a thread termination (this dangling thread
...
could be the cause of a random failure).
2013-01-13 13:56:52 +01:00
Charles-François Natali
53221e371d
Issue #16762 : Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
...
returns ESRCH for a zombie process, which is not POSIX-compliant.
2013-01-12 16:52:20 +01:00
Serhiy Storchaka
a3a01b6ac3
Issue #15539 : Fix a backup file creation in pindent.py on Windows.
2013-01-11 22:18:17 +02:00
Serhiy Storchaka
6840a54ad4
Issue #15539 : Fix a number of bugs in Tools/scripts/pindent.py.
...
Now pindent.py works with a "with" statement. pindent.py no longer produces
improper indentation. pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line. Added
regression tests for pindent.py. Modernized pindent.py.
2013-01-11 12:04:23 +02:00
Ezio Melotti
fe8e6e7414
#13899 : \A, \Z, and \B now correctly match the A, Z, and B literals when used inside character classes (e.g. [A]). Patch by Matthew Barnett.
2013-01-11 08:32:01 +02:00
Ezio Melotti
26ed234052
Enable a broken test and fix it.
2013-01-11 05:54:57 +02:00
Serhiy Storchaka
48e188e573
Issue #11461 : Fix the incremental UTF-16 decoder. Original patch by
...
Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP
characters.
2013-01-08 23:14:24 +02:00
Victor Stinner
0af71aae2d
Issue #16218 , #16414 , #16444 : Backport FS_NONASCII, TESTFN_UNDECODABLE,
...
TESTFN_NONASCII of test.support from Python 3.4. Backport tests on non-ASCII
paths.
2013-01-03 01:50:30 +01:00
Nadeem Vawda
638fb9bbed
Issue #16828 : Fix error incorrectly raised by bz2.compress('').
...
Patch by Martin Packman.
2013-01-02 23:02:00 +01:00
Łukasz Langa
a2e7acd17d
configparser: preserve section order when using `__setitem__` (issue #16820 )
2013-01-01 23:45:33 +01:00
Victor Stinner
e4110dc11f
Issue #9644 : Fix the encoding used by os.statvfs(): use the filesystem encoding
...
with the surrogateescape error handler, instead of UTF-8 in strict mode.
2013-01-01 23:05:55 +01:00
Giampaolo Rodola'
5e844c8052
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
2012-12-31 17:23:09 +01:00
Łukasz Langa
3a8479a583
Fixes `parser.clean()` reported in issue #16820 .
2012-12-31 03:38:39 +01:00
Serhiy Storchaka
88339c44f8
Issue #16645 : Fix hardlink extracting test for tarfile.
2012-12-30 20:16:30 +02:00
Serhiy Storchaka
051722d554
Issue #16485 : Fix file descriptor not being closed if file header patching fails on closing of aifc file.
2012-12-29 22:30:56 +02:00
Antoine Pitrou
ddb87ab1b4
Forward port new test for SSLSocket.connect_ex()
2012-12-28 19:07:43 +01:00