summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #10355: SpooledTemporaryFile properties now work for unrolled files.Serhiy Storchaka2013-02-091-0/+39
| | | | Remove obsoleted xreadline method.
* Issue #16686: Fixed a lot of bugs in audioop module.Serhiy Storchaka2013-02-091-127/+272
| | | | | | | | | | | | * avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX. * ratecv() no more crashes on empty input fragment. * Fixed an integer overflow in ratecv(). * Fixed an integer overflow in add() and bias() for 32-bit samples. * reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples. * max() and rms() no more returns negative result for 32-bit sample -0x80000000. * minmax() now returns correct max value for 32-bit sample -0x80000000. * avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000. * add() now can return 32-bit sample -0x80000000.
* Fix accidental non-breakable spaces (U+00A0).Serhiy Storchaka2013-02-081-1/+1
|
* Issue #17118: Add new tests for testing Python-Tcl interaction.Serhiy Storchaka2013-02-071-0/+20
|
* #17142: fix apparent copy and paste error in test_all.R David Murray2013-02-061-1/+1
|
* Issue #16723: httplib.HTTPResponse no longer marked closed when the connectionSerhiy Storchaka2013-02-061-0/+18
| | | | is automatically closed.
* Issue #17089: Expat parser now correctly works with string input not only whenSerhiy Storchaka2013-02-041-36/+43
| | | | | an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and strings larger than 2 GiB.
* Fix test_tools hangs on Windows. Patch by Jeremy Kloth.Serhiy Storchaka2013-02-041-1/+1
|
* Issue #16903: Popen.communicate() on Unix now accepts strings whenSerhiy Storchaka2013-02-041-2/+29
| | | | universal_newlines is true as on Windows.
* Do not raise self.skipTest().Serhiy Storchaka2013-02-041-2/+1
| | | | skipTest() already raises an exception.
* Issue #6083: Fix multiple segmentation faults occured when PyArg_ParseTupleSerhiy Storchaka2013-02-042-0/+37
| | | | parses nested mutating sequence.
* Issue #17106: Fix a segmentation fault in io.TextIOWrapper when an underlyingSerhiy Storchaka2013-02-031-0/+24
| | | | | 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).
* Issue #16698: Skip posix test_getgroups when built with OS XNed Deily2013-02-021-0/+7
| | | | deployment target prior to 10.6.
* 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
|