summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #10276: Fix the results of zlib.crc32() and zlib.adler32() on buffersAntoine Pitrou2011-02-211-0/+29
| | | | larger than 4GB. Patch by Nadeem Vawda.
* #11116: roll back on error during add so mailbox isn't left corrupted.R. David Murray2011-02-111-1/+31
|
* Fixed issue11082 - Reject str for POST data with a TypeError. Document the ↵Senthil Kumaran2011-02-111-4/+8
| | | | need to explicitly encode to bytes when using urlencode.
* Issue 10971: Make test_zipimport_support once again compatible with refleak ↵Nick Coghlan2011-02-071-48/+54
| | | | hunting (reviewed by Georg Brandl)
* #11132: pass optimize parameter to recursive call in ↵Georg Brandl2011-02-071-0/+10
| | | | compileall.compile_dir(). Reviewed by Eric A.
* #10680: fix mutually exclusive arguments in argument groups.Georg Brandl2011-01-301-0/+40
|
* #10961: fix exception handling in new pydoc server code.Georg Brandl2011-01-301-24/+21
| | | | Patch by Ron Adam, reviewed by Eric Araujo.
* #9124: mailbox now accepts binary input and uses binary internallyR. David Murray2011-01-301-12/+146
| | | | | | | | | | | | | | | | Although this patch contains API changes and is rather weighty for an RC phase, the mailbox module was essentially unusable without the patch since it would produce UnicodeErrors when handling non-ascii input at arbitrary and somewhat mysterious places, and any non-trivial amount of email processing will encounter messages with non-ascii bytes. The release manager approved the patch application. The changes allow binary input, and reject non-ASCII string input early with a useful message instead of failing mysteriously later. Binary is used internally for reading and writing the mailbox files. StringIO and Text file input are deprecated. Initial patch by Victor Stinner, validated and expanded by R. David Murray.
* Issue #10939: Make Internaldate2tuple test more robust.Alexander Belopolsky2011-01-291-6/+8
|
* Issue #10939: Fixed imaplib.Internaldate2tuple(). Thanks Joe PetersonAlexander Belopolsky2011-01-291-0/+11
| | | | for the report and the patch. Reviewed by Georg Brandl.
* Issue #10989: Fix a crash on SSLContext.load_verify_locations(None, True).Victor Stinner2011-01-291-0/+3
| | | | Patch reviewed by Antoine Pitrou, okayed by Georg Brandl.
* Issue #11302: missing type check on _string.formatter_field_name_split and ↵Eric Smith2011-01-291-0/+52
| | | | | | _string.formatter_parser caused crash. Originial patch by haypo, reviewed by me, okayed by Georg.
* Issue #11018: fix a test to not be a no-op in test_bz2.Antoine Pitrou2011-01-261-1/+1
| | | | Found by Nadeem Vawda, reviewed by Brett.
* Issue #11014: Make 'filter' argument in tarfile.Tarfile.add() into aRaymond Hettinger2011-01-261-0/+4
| | | | | | | keyword-only argument. The preceding positional argument was deprecated, so it made no sense to add filter as a positional argument. (Patch reviewed by Brian Curtin and Anthony Long.)
* Issue #11004: Repair edge case in deque.count().Raymond Hettinger2011-01-251-0/+9
| | | | | | | | | (Reviewed by Georg Brandl.) Also made similar changes to deque.reverse() though this wasn't strictly necessary (the edge case cannot occur with two pointers moving to meet in the middle). Making the change in reverse() was more a matter of future-proofing.
* Tighten the restrictions on the test_sys test which triggers a fatal error whenBrett Cannon2011-01-251-2/+2
| | | | run with tracing turned on.
* another pretty crasher served up by pypyBenjamin Peterson2011-01-251-0/+20
|
* Issue #9509: make argarse properly handle IOErrors raised by ↵Steven Bethard2011-01-241-9/+15
| | | | argparse.FileType. Approved by Georg in the tracker.
* Make the type consistent for hashlib algorithm constants. (Reviewed by ↵Raymond Hettinger2011-01-241-1/+1
| | | | Benjamin).
* Skip a recursion depth check test when running under CPython and have a traceBrett Cannon2011-01-231-0/+2
| | | | | | | function set. Otherwise a Python fatal error about hitting an unrecoverable recursion depth gets triggered. Closes issue #10985. Code review by Georg Brandl.
* To match the behaviour of HTTP server, the HTTP client library now also encodesArmin Ronacher2011-01-221-1/+7
| | | | | | headers with iso-8859-1 (latin1) encoding. It was already doing that for incoming headers which makes this behaviour now consistent in both incoming and outgoing direction.
* Issue #10980: encode headers with latin1 instead of ASCII in the HTTP server.Armin Ronacher2011-01-221-0/+10
| | | | | This makes the implementation of PEP 3333 compliant servers on top of BaseHTTPServer possible.
* Issue #10955: Fix a potential crash when trying to mmap() a file past itsAntoine Pitrou2011-01-201-0/+13
| | | | | | length. Initial patch by Ross Lagerwall. This fixes a regression introduced by r88022.
* Issue #10451: memoryview objects could allow to mutate a readable buffer.Antoine Pitrou2011-01-182-1/+15
| | | | Initial patch by Ross Lagerwall.
* Fix mmap and test_mmap under Windows too (followup to r88022)v3.2rc1Antoine Pitrou2011-01-151-5/+6
|
* Issue #10916: mmap should not segfault when a file is mapped using 0 asAntoine Pitrou2011-01-151-0/+13
| | | | | | | length and a non-zero offset, and an attempt to read past the end of file is made (IndexError is raised instead). Patch by Ross Lagerwall. Requested by Georg.
* Issue #4953: cgi.FieldStorage and cgi.parse() parse the request as bytes, notVictor Stinner2011-01-141-16/+17
| | | | | as unicode, and accept binary files. Add encoding and errors attributes to cgi.FieldStorage.
* test_urlparse: add tests for encoding and errors argumentsVictor Stinner2011-01-141-0/+27
|
* Fix test_bigaddrspace (some tests didn't trigger the expected MemoryError)Antoine Pitrou2011-01-121-25/+43
|
* A better message againAntoine Pitrou2011-01-121-1/+1
|
* More informative skip message in @bigaddrspaceAntoine Pitrou2011-01-121-3/+7
|
* Fix @bigmemtest when no limit is given by the user (oops)Antoine Pitrou2011-01-121-1/+1
|
* Make test skipping message nicer, and remove the rather useless "overhead" ↵Antoine Pitrou2011-01-121-20/+10
| | | | parameter.
* Fix the expected memory use of utf-8 encoding. Also, release theAntoine Pitrou2011-01-121-3/+7
| | | | one reference to a huge object even when an exception is raised.
* Issue #10822: Fix test_posix:test_getgroups failure under Solaris. PatchAntoine Pitrou2011-01-121-1/+4
| | | | by Ross Lagerwall.
* don't segfault on deleting __abstractmethods__ #10892Benjamin Peterson2011-01-121-1/+5
|
* oops, wrong classBenjamin Peterson2011-01-121-7/+7
|
* move this test to test_descr; it's not abc specificBenjamin Peterson2011-01-122-7/+7
|
* Issue 10889: Support slicing and indexing of large ranges (no docs changes, ↵Nick Coghlan2011-01-121-7/+86
| | | | since, as far as I know, we never said anywhere that this *didn't* work)
* Issue #5109: array.array constructor will now use fast code whenAlexander Belopolsky2011-01-111-0/+10
| | | | initial data is provided in an array object with correct type.
* Typo.Eric Smith2011-01-111-1/+1
|
* Issue 10556: test_zipimport_support implicitly imports too many modules ↵Nick Coghlan2011-01-112-6/+23
| | | | (including _ssl) to safely clobber sys.modules after each test
* This should fix mktime test on WindowsAlexander Belopolsky2011-01-111-1/+2
|
* Make mktime test more robust.Alexander Belopolsky2011-01-111-3/+7
|
* Issue #1726687: time.mktime() will now correctly compute value oneAlexander Belopolsky2011-01-111-0/+13
| | | | | second before epoch. Original patch by Peter Wang, reported by Martin Blais.
* Issue #10872: The repr() of TextIOWrapper objects now includes the modeAntoine Pitrou2011-01-091-1/+4
| | | | | | if available. (at Georg's request)
* #10874: test_urllib2 shouldn't use `is` operator for comparing stringsŁukasz Langa2011-01-091-1/+1
| | | | Patch by Adreas Stührk.
* Add missing line.Georg Brandl2011-01-091-0/+1
|
* #10869: do not visit root node twice in ast.increment_lineno().Georg Brandl2011-01-091-0/+7
|
* Add EHOSTUNREACH ('No route to host') to the errnos trapped by ↵Antoine Pitrou2011-01-081-0/+1
| | | | transient_internet().