summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15633: httplib.HTTPResponse is now mark closed when the server sends ↵Antoine Pitrou2013-02-021-3/+15
| | | | less than the advertised Content-Length.
* Back out fix for issue #13886; it introduced a new bug in interactive ↵Nadeem Vawda2013-02-021-7/+0
| | | | readline use.
* Fix the test for issue #6972.Serhiy Storchaka2013-02-021-5/+17
| | | | Remove trailing dots on Windows.
* Fix tests for issue #11159.Serhiy Storchaka2013-02-021-0/+16
|
* Issue #11159: Add tests for testing SAX parser support of non-ascii file names.Serhiy Storchaka2013-02-021-0/+44
|
* Fixes Issue #6972: The zipfile module no longer overwrites files outside ofGregory P. Smith2013-02-011-9/+77
| | | | its destination path when extracting malicious zip files.
* Issue #17041: Fix doctesting when Python is configured with theSerhiy Storchaka2013-01-312-2/+4
| | | | --without-doc-strings.
* Added test to ensure localized calendar methods return strings and not bytes.Serhiy Storchaka2013-01-311-3/+13
|
* Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with anSerhiy Storchaka2013-01-311-0/+14
| | | | | incomplete "End of Central Directory" record. Original patch by Guilherme Polo and Alan McIntyre.
* Issue #13590: OS X Xcode 4 - improve support for universal extension modulesNed Deily2013-01-312-6/+290
| | | | | | | | | | | | | | | | 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.
* Issue #12004: Fix an internal error in PyZipFile when writing an invalidSerhiy Storchaka2013-01-291-1/+24
| | | | Python file. Patch by Ben Morgan.
* Add tests for raw-unicode-escape codec.Serhiy Storchaka2013-01-291-0/+51
|
* Clean up escape-decode decoder tests.Serhiy Storchaka2013-01-291-36/+40
|
* Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder.Serhiy Storchaka2013-01-292-2/+87
|
* Fix skip conditions in some docstings tests.Serhiy Storchaka2013-01-282-3/+3
|
* Issue #17041: Fix testing when Python is configured with theSerhiy Storchaka2013-01-274-17/+44
| | | | --without-doc-strings.
* Issue #13886: Fix input() to not strip out supposedly-invalid input bytes.Nadeem Vawda2013-01-271-0/+7
| | | | | Also fix sporadic failures in test_builtin due to dependence on whether the readline module has previously been imported.
* Optimize the test for issue #13454.Serhiy Storchaka2013-01-261-4/+2
| | | | Now it requires almost 4x less memory and is almost 2x faster.
* Issue #16975: Fix error handling bug in the escape-decode bytes decoder.Serhiy Storchaka2013-01-251-0/+44
|
* Issue #13454: Fix a crash when deleting an iterator created by itertools.tee()Serhiy Storchaka2013-01-251-0/+8
| | | | if all other iterators were very advanced before.
* Increase the memory limit in the test for issue #16335.Serhiy Storchaka2013-01-251-1/+1
|
* Issue #12411: Fix to cgi.parse_multipart to correctly use bytes boundaries andSenthil Kumaran2013-01-231-1/+20
| | | | bytes data. Patch by Jonas Wagner.
* Issue #1159051: GzipFile now raises EOFError when reading a corrupted fileSerhiy Storchaka2013-01-222-0/+33
| | | | | with truncated header or footer. Added tests for reading truncated gzip and bzip2 files.
* Add bigmemtest decorator to test of issue #16335.Serhiy Storchaka2013-01-211-11/+10
|
* Fix memory error in test_ucn.Serhiy Storchaka2013-01-211-5/+6
| | | | | unicode-escape decoder requires memory for result corresponding to input size. Fixes test for issue #16335.
* Issue #16335: Fix integer overflow in unicode-escape decoder.Serhiy Storchaka2013-01-211-0/+16
|
* Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-196-4/+78
| | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
* Remove outdated statementAntoine Pitrou2013-01-171-1/+0
|
* Closed #16886: test_dictcomps no longer depends on dict orderFrank Wierzbicki2013-01-161-40/+77
|
* Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping"Serhiy Storchaka2013-01-151-0/+46
| | | | in any mapping, not only in an unicode string.
* Issue #16922: fixed findtext() to return empty Unicode string instead of ↵Eli Bendersky2013-01-131-0/+2
| | | | | | empty bytes object when there's no text. Patch by Serhiy Storchaka.
* test_asyncore: wait explicitly for a thread termination (this dangling threadCharles-François Natali2013-01-131-0/+1
| | | | could be the cause of a random failure).
* Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()Charles-François Natali2013-01-121-0/+2
| | | | returns ESRCH for a zombie process, which is not POSIX-compliant.
* Issue #15539: Fix a backup file creation in pindent.py on Windows.Serhiy Storchaka2013-01-111-0/+1
|
* Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.Serhiy Storchaka2013-01-111-1/+325
| | | | | | | 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.
* #13899: \A, \Z, and \B now correctly match the A, Z, and B literals when ↵Ezio Melotti2013-01-111-0/+6
| | | | used inside character classes (e.g. [A]). Patch by Matthew Barnett.
* Enable a broken test and fix it.Ezio Melotti2013-01-111-1/+2
|
* Issue #11461: Fix the incremental UTF-16 decoder. Original patch bySerhiy Storchaka2013-01-081-8/+40
| | | | | Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP characters.
* Issue #16218, #16414, #16444: Backport FS_NONASCII, TESTFN_UNDECODABLE,Victor Stinner2013-01-035-7/+122
| | | | | TESTFN_NONASCII of test.support from Python 3.4. Backport tests on non-ASCII paths.
* Issue #16828: Fix error incorrectly raised by bz2.compress('').Nadeem Vawda2013-01-021-0/+15
| | | | Patch by Martin Packman.
* configparser: preserve section order when using `__setitem__` (issue #16820)Łukasz Langa2013-01-011-0/+26
|
* Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encodingVictor Stinner2013-01-011-0/+9
| | | | with the surrogateescape error handler, instead of UTF-8 in strict mode.
* Fix issue 10527: make multiprocessing use poll() instead of select() if ↵Giampaolo Rodola'2012-12-311-0/+1
| | | | available.
* Fixes `parser.clean()` reported in issue #16820.Łukasz Langa2012-12-311-0/+27
|
* Issue #16645: Fix hardlink extracting test for tarfile.Serhiy Storchaka2012-12-301-16/+6
|
* Issue #16485: Fix file descriptor not being closed if file header patching ↵Serhiy Storchaka2012-12-291-1/+10
| | | | fails on closing of aifc file.
* Forward port new test for SSLSocket.connect_ex()Antoine Pitrou2012-12-281-0/+11
|\
| * Backport Python 3.2 fix for issue #12065, and add another test for ↵Antoine Pitrou2012-12-281-0/+28
| | | | | | | | SSLSocket.connect_ex().
| * Issue #16761: Raise TypeError when int() or long() called with base argument ↵Serhiy Storchaka2012-12-281-12/+2
| | | | | | | | only.
| * Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.Chris Jerdonek2012-12-281-2/+2
| |