summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* [merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)Senthil Kumaran2016-07-311-0/+12
|\ | | | | | | | | | | | | Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which indicates that the script is in CGI mode. Issue #27568 Reported and patch contributed by Rémi Rampin.
| * [merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)Senthil Kumaran2016-07-311-0/+13
| |\ | | | | | | | | | | | | | | | | | | Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which indicates that the script is in CGI mode. Issue #27568 Reported and patch contributed by Rémi Rampin.
| | * Prevent HTTPoxy attack (CVE-2016-1000110)Senthil Kumaran2016-07-311-0/+13
| | | | | | | | | | | | | | | | | | | | | Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which indicates that the script is in CGI mode. Issue #27568 Reported and patch contributed by Rémi Rampin.
* | | Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-2810-21/+21
| | | | | | | | | | | | Based on patch by Ville Skyttä.
* | | Issue #13849: Fix test_null_bytes under WindowsBerker Peksag2016-07-231-1/+1
| | |
* | | Issue #13849: Add tests for null byte checking in test_genericpathBerker Peksag2016-07-231-0/+9
| | |
* | | Issue #27130: Fix handling of buffers exceeding UINT_MAX in “zlib” moduleMartin Panter2016-07-231-16/+48
| | | | | | | | | | | | Patch by Xiang Zhang.
* | | Issue #27528: Document and test warning messages must match at beginningMartin Panter2016-07-191-0/+12
| | |
* | | Issue #26974: Fix segfault in the presence of absurd subclassing. ProactivelyStefan Krah2016-07-171-0/+28
| | | | | | | | | | | | eliminate all internal uses of overridden methods.
* | | Issue #17711: Fixed unpickling by the persistent ID with protocol 0.Serhiy Storchaka2016-07-172-8/+54
| | | | | | | | | | | | Original patch by Alexandre Vassalotti.
* | | Fix regressions introduced by fixes for issue #27083.Brett Cannon2016-07-163-18/+18
| | |
* | | Issue #27083: Respect the PYTHONCASEOK environment variable underBrett Cannon2016-07-151-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows. Originally only b'PYTHONCASEOK' was being checked for in os.environ, but that won't work under Windows where all environment variables are strings (on OS X they are bytes). Thanks to Eryk Sun for the bug report.
* | | make too many nested blocks be a SyntaxError instead of a SystemError ↵Benjamin Peterson2016-07-151-2/+4
| | | | | | | | | | | | | | | | | | (closes #27514) Patch by Ammar Askar.
* | | Issue #27369: Merge test_pyexpat from 3.4 into 3.5Martin Panter2016-07-141-4/+2
|\ \ \ | |/ /
| * | Issue #27369: Merge test_pyexpat from 3.3 into 3.4Martin Panter2016-07-141-4/+2
| |\ \ | | |/
| | * Issue #27369: Merge test_pyexpat from 3.2 into 3.3Martin Panter2016-07-141-4/+2
| | |\
| | | * Issue #27369: Don’t test error message detail that changed in Expat 2.2.03.2Martin Panter2016-07-141-4/+2
| | | |
| | | * #22758: fix regression in handling of secure cookies.R David Murray2016-07-101-1/+39
| | | | | | | | | | | | | | | | | | | | This backports the fix from #16611, per discussion with the release manager.
| | * | Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.Serhiy Storchaka2015-12-021-0/+17
| | | |
| * | | Issue #26867: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test.Matthias Klose2016-06-131-1/+2
| | | |
* | | | Issue #27392: Add loop.connect_accepted_socket().Yury Selivanov2016-07-121-0/+79
| | | | | | | | | | | | | | | | Patch by Jim Fulton.
* | | | English spelling and grammar fixesMartin Panter2016-07-111-2/+2
| | | |
* | | | Issue #23804: Fix SSL zero-length recv() calls to not block and raise EOFMartin Panter2016-07-111-8/+21
| | | |
* | | | Issue #27466: Change time format returned by http.cookie.time2netscape,Senthil Kumaran2016-07-101-0/+22
| | | | | | | | | | | | | | | | confirming the netscape cookie format.
* | | | Issue #19527: Fixed tests with defined COUNT_ALLOCS.Serhiy Storchaka2016-07-0310-6/+26
| | | |
* | | | Issue #27443: __length_hint__() of bytearray itearator no longer returnSerhiy Storchaka2016-07-031-0/+10
| | | | | | | | | | | | | | | | negative integer for resized bytearray.
* | | | Issue #27431: Update default protocol version in shelve.Shelf() documentationBerker Peksag2016-07-011-0/+4
| | | | | | | | | | | | | | | | shelve.open() documentation was updated in f351fb7ea179.
* | | | asyncio: Use socket specs for getaddrinfo() in sock_connect()Yury Selivanov2016-06-281-0/+11
| | | | | | | | | | | | | | | | Patch by Martin Richard. GH PR #365.
* | | | asyncio: Fix NameError in sslproto _fatal_error()Yury Selivanov2016-06-281-0/+16
| | | | | | | | | | | | | | | | Patch by Richard Walker.
* | | | Merge.Larry Hastings2016-06-2719-33/+402
|\ \ \ \
| * | | | Fix a scoping issue where an UnboundLocalError was triggered if aBrett Cannon2016-06-251-3/+13
| | | | | | | | | | | | | | | | | | | | lazy-loaded module was already in sys.modules.
| * | | | Issue #18300: Set TERM='' by default in assert_python_*Berker Peksag2016-06-242-15/+13
| | | | |
| * | | | Issue #27006: from_float(): call the subclass' __new__() and __init__().Stefan Krah2016-06-201-1/+4
| | | | |
| * | | | Added more tests for issue #27122.Serhiy Storchaka2016-06-201-5/+11
| | | | |
| * | | | Issue #27294: Numerical state in the repr for Tkinter event objects is nowSerhiy Storchaka2016-06-181-0/+54
| | | | | | | | | | | | | | | | | | | | represented as a compination of known flags.
| * | | | Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded asSerhiy Storchaka2016-06-184-0/+44
| | | | | | | | | | | | | | | | | | | | an iterable of integers. Now only strings and byte-like objects are accepted.
| * | | | Issue #27123: When an exception is raised within the context beingGregory P. Smith2016-06-141-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | managed by a contextlib.ExitStack() and one of the exit stack generators catches and raises it in a chain, do not re-raise the original exception when exiting, let the new chained one through. This avoids the PEP 479 bug described in issue25782.
| * | | | Issue #16182: One more check for set_pre_input_hook()Martin Panter2016-06-141-1/+1
| | | | |
| * | | | Issue #16182: set_pre_input_hook() may not exist; document, and update testMartin Panter2016-06-141-7/+15
| | | | |
| * | | | Issue #16182: Attempted workarounds for Apple EditlineMartin Panter2016-06-141-5/+13
| | | | |
| * | | | Issue #16182: Fix readline begidx, endidx, and use locale encodingMartin Panter2016-06-141-4/+137
| | | | | | | | | | | | | | | | | | | | Based on patch by Serhiy Storchaka.
| * | | | Issue #27136: Change test to use ::1 for better OS X Tiger compatibilityMartin Panter2016-06-131-4/+4
| | | | |
| * | | | Issue #27289: Prevent test_urllib2net failures due to EOFError raised by ftplibBerker Peksag2016-06-121-1/+2
| | | | |
| * | | | Issue #25455: Clean up reference loops created in tests for recursiveSerhiy Storchaka2016-06-121-12/+36
| | | | | | | | | | | | | | | | | | | | functools.partial objects.
| * | | | Issue #25455: Fixed a crash in repr of recursive functools.partial objects.Serhiy Storchaka2016-06-121-0/+37
| | | | |
| * | | | Merge headsSerhiy Storchaka2016-06-121-1/+1
| |\ \ \ \
| | * | | | Fix typos and English grammar in documentation and code commentMartin Panter2016-06-121-1/+1
| | | | | |
| * | | | | Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag.Serhiy Storchaka2016-06-121-1/+7
| | | | | |
| * | | | | Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. CallingSerhiy Storchaka2016-06-122-0/+9
| |/ / / / | | | | | | | | | | | | | | | | | | | | function with generalized unpacking (PEP 448) and conflicting keyword names could cause undefined behavior.
| * | | | Issue #16484: Fix pydoc link and test on Windows, by Kaushik NadikuditiMartin Panter2016-06-121-1/+1
| | | | |