Antoine Pitrou
beec61ae4e
Issue #15633 : httplib.HTTPResponse is now mark closed when the server sends less than the advertised Content-Length.
14 years ago
Nadeem Vawda
6375257188
Back out fix for issue #13886 ; it introduced a new bug in interactive readline use.
14 years ago
Serhiy Storchaka
e5e6444497
Fix the test for issue #6972 .
Remove trailing dots on Windows.
14 years ago
Serhiy Storchaka
1a4ed4ce18
Fix tests for issue #11159 .
14 years ago
Serhiy Storchaka
d52023968a
Issue #11159 : Add tests for testing SAX parser support of non-ascii file names.
14 years ago
Gregory P. Smith
b47acbf46a
Fixes Issue #6972 : The zipfile module no longer overwrites files outside of
its destination path when extracting malicious zip files.
14 years ago
Serhiy Storchaka
9a11f17673
Issue #17041 : Fix doctesting when Python is configured with the
--without-doc-strings.
14 years ago
Serhiy Storchaka
f9fcdb7e90
Added test to ensure localized calendar methods return strings and not bytes.
14 years ago
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.
14 years ago
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.
14 years ago
Michael Foord
6debd76939
Closes issue 15505. unittest.installHandler and non-callable signal handlers.
14 years ago
Serhiy Storchaka
45c4375ea7
Issue #12004 : Fix an internal error in PyZipFile when writing an invalid
Python file. Patch by Ben Morgan.
14 years ago
Serhiy Storchaka
c9c4338e2b
Add tests for raw-unicode-escape codec.
14 years ago
Serhiy Storchaka
077cb347a9
Clean up escape-decode decoder tests.
14 years ago
Serhiy Storchaka
d679377be7
Issue #16979 : Fix error handling bugs in the unicode-escape-decode decoder.
14 years ago
Serhiy Storchaka
8e0ae2a4f0
Fix skip conditions in some docstings tests.
14 years ago
Serhiy Storchaka
9d0add0c7e
Issue #17041 : Fix testing when Python is configured with the
--without-doc-strings.
14 years ago
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.
14 years ago
Serhiy Storchaka
5bb893c44b
Optimize the test for issue #13454 .
Now it requires almost 4x less memory and is almost 2x faster.
14 years ago
Serhiy Storchaka
ace3ad3bf7
Issue #16975 : Fix error handling bug in the escape-decode bytes decoder.
14 years ago
Serhiy Storchaka
39e70a4e83
Issue #9290 : In IDLE the sys.std* streams now implement io.TextIOBase
interface and support all mandatory methods and properties.
14 years ago
Serhiy Storchaka
a3e9128aba
Issue #13454 : Fix a crash when deleting an iterator created by itertools.tee()
if all other iterators were very advanced before.
14 years ago
Serhiy Storchaka
2f2dd992a3
Increase the memory limit in the test for issue #16335 .
14 years ago
Serhiy Storchaka
385ecd84c8
Fix generating of sre_constants.h on Python 3.
14 years ago
Senthil Kumaran
6b102f251f
Issue #12411 : Fix to cgi.parse_multipart to correctly use bytes boundaries and
bytes data. Patch by Jonas Wagner.
14 years ago
Ezio Melotti
da4b5b82a3
#11379 : rephrase minidom documentation to use the term "minimal" instead of "lightweight". Patch by Éric Araujo.
14 years ago
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.
14 years ago
Serhiy Storchaka
fc6e8aabf5
#15546 : Fix GzipFile.peek()'s handling of pathological input data.
This is a backport of changeset 8c07ff7f882f.
14 years ago
Serhiy Storchaka
e45dac4ea9
Add bigmemtest decorator to test of issue #16335 .
14 years ago
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 .
14 years ago
Serhiy Storchaka
4f5f0e54e0
Issue #16335 : Fix integer overflow in unicode-escape decoder.
14 years ago
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.
14 years ago
Antoine Pitrou
b24d0d984c
Remove outdated statement
14 years ago
Frank Wierzbicki
809067c3c5
Closed #16886 : test_dictcomps no longer depends on dict order
14 years ago
Vinay Sajip
5e1c3ce133
Issue #9501 : Improved shutdown handling to deal with module attributes correctly.
14 years ago
Serhiy Storchaka
b139652366
Issue #15861 : tkinter now correctly works with lists and tuples containing
strings with whitespaces, backslashes or unbalanced braces.
14 years ago
Richard Oudkerk
8838061119
Issue #10527 : Remove dead code
14 years ago
Serhiy Storchaka
4fb8caee87
Issue #14850 : Now a chamap decoder treates U+FFFE as "undefined mapping"
in any mapping, not only in an unicode string.
14 years ago
Serhiy Storchaka
182d7cd531
Issue #9720 : zipfile now writes correct local headers for files larger than 4 GiB.
14 years ago
Serhiy Storchaka
03530b980e
Describe the default_namespace parameter of ElemetTree.write.
14 years ago
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.
14 years ago
Charles-François Natali
ce1519d250
test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
14 years ago
Serhiy Storchaka
74fe9f307d
Issue #16829 : IDLE printing no longer fails if there are spaces or other
special characters in the file path.
14 years ago
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.
14 years ago
Serhiy Storchaka
a3a01b6ac3
Issue #15539 : Fix a backup file creation in pindent.py on Windows.
14 years ago
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.
14 years ago
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.
14 years ago
Ezio Melotti
26ed234052
Enable a broken test and fix it.
14 years ago
R David Murray
3f7beb99dd
#13934 : document sqlite version strings, use correct one in test.
14 years ago
R David Murray
b52312923b
#15545 : fix sqlite3.iterdump regression on unsortable row_factory objects.
The fix for issue 9750 introduced a regression by sorting the row objects
returned by fetchall. But if a row_factory such as sqlite3.Row is used, the
rows may not be sortable (in Python3), which leads to an exception. The
sorting is still a nice idea, so the patch moves the sort into the sql.
Fix and test by Peter Otten.
14 years ago