summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Lax cookie parsing in http.cookies could be a security issue when combinedAntoine Pitrou2014-09-161-0/+9
| | | | | | with non-standard cookie handling in some Web browsers. Reported by Sergey Bobrov.
* Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-131-0/+16
|\ | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
| * Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-131-0/+16
| | | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
* | merge 3.2Benjamin Peterson2014-06-171-1/+1
|\ \ | |/
| * expect the correct platform-dependent linesepBenjamin Peterson2014-06-171-1/+1
| |
* | merge 3.2 (#21766)Benjamin Peterson2014-06-151-0/+5
|\ \ | |/
| * url unquote the path before checking if it refers to a CGI script (closes ↵Benjamin Peterson2014-06-151-0/+5
| | | | | | | | #21766)
* | merge 3.2Benjamin Peterson2014-04-141-0/+4
|\ \ | |/
| * in scan_once, prevent the reading of arbitrary memory when passed a negative ↵Benjamin Peterson2014-04-141-0/+4
| | | | | | | | | | | | index Bug reported by Guido Vranken.
* | merge 3.2 (#21082)Benjamin Peterson2014-04-011-4/+3
|\ \ | |/
| * remove directory mode check from makedirs (closes #21082)Benjamin Peterson2014-04-011-4/+3
| |
* | merge 3.2Benjamin Peterson2014-03-311-2/+2
|\ \ | |/
| * use https docs url (#21115)Benjamin Peterson2014-03-311-2/+2
| |
* | Issue #20939: Fix test_geturl failure in test_urllibnet due toNed Deily2014-03-151-1/+1
| | | | | | | | new redirect of http://www.python.org/ to https://www.python.org.
* | #20933: At least one place maps 'test' to 'localhost'...fix test.R David Murray2014-03-151-1/+2
| | | | | | | | | | | | | | Discovery and patch by Wenzhu Man. University of Waterloo apparently maps the local name 'test' to localhost, which is in the bypass list, causing the test to fail. So change 'test' to a name unlikely to get mapped to localhost.
* | merge 3.2 (#20896)Benjamin Peterson2014-03-121-3/+8
|\ \ | |/
| * use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896)Benjamin Peterson2014-03-121-3/+8
| |
| * Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.Stefan Krah2014-01-211-1/+1
| |
* | use support.rmtree instead of shutil (closes #19614)Benjamin Peterson2014-03-121-1/+1
| | | | | | | | Patch by Sean Rodman.
* | Issue #20875: Prevent possible gzip "'read' is not defined" NameError.Ned Deily2014-03-091-0/+7
| | | | | | | | Patch by Claudiu Popa.
* | Issue #20283: RE pattern methods now accept the string keyword parametersSerhiy Storchaka2014-03-061-0/+16
| | | | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases.
* | Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-0/+12
| | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
* | Fix pickling of rangeiter. rangeiter_setstate would not allow setting itKristján Valur Jónsson2014-03-041-0/+12
| | | | | | | | to the exhausted state.
* | Correct comments and improve failure reports in test_fileinput (closes #20501).Serhiy Storchaka2014-03-031-4/+7
| | | | | | | | Thanks Vajrasky Kok and Zachary Ware.
* | 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.