summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20404: reject non-text encodings early in TextIOWrapper.Georg Brandl2014-03-021-6/+24
|
* merge 3.3.5rc1 release commits with 3.3 branchGeorg Brandl2014-03-021-0/+1
|\
| * #20719: Disable the robotparser python.org test until the gzip encoding ↵Georg Brandl2014-02-231-0/+1
| | | | | | | | issue can be sorted.
* | fix test_posix.test_initgroups to work without supplemental groups (closes ↵Benjamin Peterson2014-03-021-1/+1
| | | | | | | | #20249)
* | fix test on debug builds (closes #20731)Benjamin Peterson2014-03-011-2/+3
| |
* | Issue #20778: Fix modulefinder to work with bytecode-only modules.Brett Cannon2014-02-281-0/+20
| | | | | | | | Bug filed and initial attempt at a patch by Bohuslav Kabrda.
* | Issue #20731: Properly position in source code files even if theyMartin v. Löwis2014-02-282-1/+12
| | | | | | | | are opened in text mode. Patch by Serhiy Storchaka.
* | Issue #20567: Delete class attribute gui widgets in idle tests.Terry Jan Reedy2014-02-271-0/+1
| | | | | | | | Code patch by Serhiy Storchaka
* | Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes ↵Antoine Pitrou2014-02-271-0/+1
| | | | | | | | object. Initial patch by Peter Otten.
* | fix importlib test failure when bytecode writing is disabled (closes #20796)Benjamin Peterson2014-02-271-0/+1
| | | | | | | | Patch by Berker Peksag.
* | Added tests for issue #20501.Serhiy Storchaka2014-02-261-0/+36
| |
* | Issue #19619: Blacklist non-text codecs in method APISerhiy Storchaka2014-02-241-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. The latter mechanism remains in place for third party non-text encodings. Backported changeset d68df99d7a57.
* | Issue #9974: When untokenizing, use row info to insert backslash+newline.Terry Jan Reedy2014-02-241-1/+16
| | | | | | | | Original patches by A. Kuchling and G. Rees (#12691).
* | Issue #20750, Enable roundtrip tests for new 5-tuple untokenize. TheTerry Jan Reedy2014-02-231-14/+38
| | | | | | | | | | | | constructed examples and all but 7 of the test/test_*.py files (run with -ucpu) pass. Remove those that fail the new test from the selection list. Patch partly based on patches by G. Brandl (#8478) and G. Rees (#12691).
* | Issue #20743: Fix a reference leak in test_tcl.Antoine Pitrou2014-02-231-0/+1
|/
* Issue #20571: skip test_readline() of test_codecs for Windows code page 65001.Victor Stinner2014-02-091-0/+3
| | | | The decoder does not support partial decoding yet for this code page.
* merge 3.2 (#20695)Benjamin Peterson2014-02-201-4/+4
|\
| * update logo url (#20695)Benjamin Peterson2014-02-201-1/+1
| |
| * open retrieved file in binary mode, since it's now compressedBenjamin Peterson2014-02-201-3/+3
| |
* | Merge headsSerhiy Storchaka2014-02-191-0/+4
|\ \
| * | Issue #20510: Confirm that the code attribute of the SystemExitZachary Ware2014-02-191-0/+4
| | | | | | | | | | | | | | | | | | exception raised by sys.exit is None when no code is given. As suggested by Serhiy Storchaka.
* | | Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.Serhiy Storchaka2014-02-191-8/+10
|/ /
* | Issue #20510: Rewrote test_exit in test_sys to match existing commentsZachary Ware2014-02-181-53/+28
| | | | | | | | and to modernize. Patch by Gareth Rees.
* | Issue #8478: Untokenizer.compat now processes first token from iterator input.Terry Jan Reedy2014-02-181-0/+13
| | | | | | | | Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
* | whitespaceTerry Jan Reedy2014-02-171-2/+2
| |
* | Untokenize: An logically incorrect assert tested user input validity.Terry Jan Reedy2014-02-171-1/+15
| | | | | | | | | | | | Replace it with correct logic that raises ValueError for bad input. Issues #8478 and #12691 reported the incorrect logic. Add an Untokenize test case and an initial test method.
* | backout fafac90b69c4Benjamin Peterson2014-02-162-7/+9
| |
* | backout 2807a5f011e4 for causing #20621Benjamin Peterson2014-02-161-85/+19
| |
* | Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust.Ned Deily2014-02-141-2/+8
| |
* | Issue #6815: os.path.expandvars() now supports non-ASCII environmentSerhiy Storchaka2014-02-132-5/+52
| | | | | | | | variables names and values.
* | Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair.Serhiy Storchaka2014-02-121-0/+38
| | | | | | | | Based on patch by Stephen Tu.
* | Issue #19856: shutil.move() failed to move a directory to other directorySerhiy Storchaka2014-02-111-0/+9
| | | | | | | | on Windows if source name ends with os.altsep.
* | merge with 3.3.4 releasing repoGeorg Brandl2014-02-102-3/+36
|\ \
| * | #20311: revert changes to 3.3 branch for now until experts have decided how ↵Georg Brandl2014-01-251-11/+0
| | | | | | | | | | | | to resolve the issue.
| * | #16042: CVE-2013-1752: smtplib fix for unlimited readline() from socketGeorg Brandl2014-01-252-3/+36
| | |
* | | #14983: always add a line end after a MIME boundary marker.R David Murray2014-02-082-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is more RFC compliant (see issue) and fixes a problem with signature verifiers rejecting the part when signed. There is some amount of backward compatibility concern here since it changes the output, but the RFC issue coupled with fixing the problem with signature verifiers seems worth the small risk of breaking code that depends on the current incorrect output.
* | | #16983: Apply postel's law to encoded words inside quoted strings.R David Murray2014-02-082-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This applies only to the new parser. The old parser decodes encoded words inside quoted strings already, although it gets the whitespace wrong when it does so. This version of the patch only handles the most common case (a single encoded word surrounded by quotes), but I haven't seen any other variations of this in the wild yet, so its good enough for now.
* | | #19772: Do not mutate message when downcoding to 7bit.R David Murray2014-02-081-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bit of an ugly hack because of the way generator pieces together the output message. The deepcopys aren't too expensive, though, because we know it is only called on messages that are not multiparts, and the payload (the thing that could be large) is an immutable object. Test and preliminary work on patch by Vajrasky Kok.
* | | Issue #20553. Use specific asserts in ipaddress tests.Serhiy Storchaka2014-02-081-18/+17
| | |
* | | Issue #18805: better netmask validation in ipaddressNick Coghlan2014-02-081-20/+53
| | |
* | | Issue #20549: Use specific asserts in mailbox, smtplib and poplib tests.Serhiy Storchaka2014-02-083-29/+30
| | |
* | | Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref ↵Serhiy Storchaka2014-02-088-26/+27
| | | | | | | | | | | | tests.
* | | Issue #20546: Use specific asserts in int tests.Serhiy Storchaka2014-02-081-24/+24
| | |
* | | Issue #20538: UTF-7 incremental decoder produced inconsistant string whenSerhiy Storchaka2014-02-081-6/+33
| | | | | | | | | | | | input was truncated in BASE64 section.
* | | #17369: Improve handling of broken RFC2231 values in get_filename.R David Murray2014-02-071-0/+20
| | | | | | | | | | | | This fixes a regression relative to python2.
* | | Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-0724-104/+235
| | |
* | | Silence BytesWarning (backport 267a4d4d9d65).Serhiy Storchaka2014-02-061-5/+6
| | |
* | | Issue #20363. Fixed BytesWarning triggerred by test suite.Serhiy Storchaka2014-02-061-1/+1
| | | | | | | | | | | | Patch by Berker Peksag.
* | | Issue #20520: Fixed readline test in test_codecs.Serhiy Storchaka2014-02-061-6/+15
| | |
* | | Issue #19920: TarFile.list() no longer fails when outputs a listingSerhiy Storchaka2014-02-051-0/+78
| | | | | | | | | | | | | | | containing non-encodable characters. Added tests for TarFile.list(). Based on patch by Vajrasky Kok.