summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Iaaue #25598: Fix memory_hex from #9951 for non-contiguous buffers.Stefan Krah2015-11-102-0/+12
|
* Issue #25584: Fixed recursive glob() with patterns starting with '**'.Serhiy Storchaka2015-11-091-6/+15
|
* Issue #24802: Update test case for ValueError in 3.5Martin Panter2015-11-081-3/+2
|
* #25446: Fix regression in smtplib's AUTH LOGIN support.R David Murray2015-11-081-58/+121
| | | | | | | | | | | | | The auth method tests simply weren't adequate because of the fact that smtpd doesn't support authentication. I borrowed some of Milan's code for that from issue #21935 and added it to the smtplib tests. Also discovered that the direct test for the 'auth' method wasn't actually testing anything and fixed it. The fix makes the new authobject mechanism work the way it is documented...the problem was that wasn't checking for a 334 return code if an initial-response was provided, which works fine for auth plain and cram-md5, but not for auth login.
* Issue #22643: Skip test_case_operation_overflow on computers with low memory.Serhiy Storchaka2015-11-071-1/+9
|\
| * Issue #22643: Skip test_case_operation_overflow on computers with low memory.Serhiy Storchaka2015-11-071-1/+9
| |
* | Issue #892902: Added new tests for pickling recursive collections.Serhiy Storchaka2015-11-071-16/+104
|\ \ | |/
| * Issue #892902: Added new tests for pickling recursive collections.Serhiy Storchaka2015-11-071-16/+104
| |
* | Issue #24802: Merge null termination fixes from 3.4 into 3.5Martin Panter2015-11-073-12/+91
|\ \ | |/
| * Issue #24802: Copy bytes-like objects to null-terminated buffers if necessaryMartin Panter2015-11-073-12/+91
| | | | | | | | | | | | | | | | This avoids possible buffer overreads when int(), float(), compile(), exec() and eval() are passed bytes-like objects. Similar code is removed from the complex() constructor, where it was not reachable. Patch by John Leitch, Serhiy Storchaka and Martin Panter.
* | Issue #18010: Merge pydoc web search fix from 3.4 into 3.5Martin Panter2015-11-061-6/+32
|\ \ | |/
| * Issue #18010: Fix pydoc web server search to handle package exceptionsMartin Panter2015-11-061-6/+32
| | | | | | | | Implementation by Antoine Pitrou.
* | Merge 3.4Yury Selivanov2015-11-051-0/+24
|\ \ | |/
| * asyncio: Optimize asyncio.sleep(0)Yury Selivanov2015-11-051-0/+24
| |
* | Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict thatSerhiy Storchaka2015-11-041-0/+54
| | | | | | | | was mutated by direct calls of dict methods.
* | Issue #25449: Iterating OrderedDict with keys with unstable hash now raisesSerhiy Storchaka2015-11-041-61/+83
| | | | | | | | | | | | KeyError in C implementations as well as in Python implementation. Added tests for OrderedDict subclasses.
* | Issue #25523: Further a-to-an corrections new in 3.5.Serhiy Storchaka2015-11-021-1/+1
| |
* | Issue #25523: Merge a-to-an corrections from 3.4.Serhiy Storchaka2015-11-025-5/+5
|\ \ | |/
| * Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-025-5/+5
| |
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-0211-12/+12
|\ \ | |/
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-0211-12/+12
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''Serhiy Storchaka2015-11-011-0/+15
|\ \ | |/ | | | | | | at the end if the FileInput was opened with binary mode. Patch by Ryosuke Ito.
| * Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''Serhiy Storchaka2015-11-011-0/+15
| | | | | | | | | | at the end if the FileInput was opened with binary mode. Patch by Ryosuke Ito.
* | Issue #25395: Fixed crash when highly nested OrderedDict structures wereSerhiy Storchaka2015-11-011-0/+24
| | | | | | | | garbage collected.
* | Issue25506: Fixed a copy-pasting error in test_pprint.Serhiy Storchaka2015-10-291-1/+1
| | | | | | | | Patch by John Mark Vandenberg.
* | Issue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.Serhiy Storchaka2015-10-292-3/+8
| | | | | | | | Original patch by John Mark Vandenberg.
* | Issue #21827: Fixed textwrap.dedent() for the case when largest commonSerhiy Storchaka2015-10-281-0/+5
|\ \ | |/ | | | | | | whitespace is a substring of smallest leading whitespace. Based on patch by Robert Li.
| * Issue #21827: Fixed textwrap.dedent() for the case when largest commonSerhiy Storchaka2015-10-281-0/+5
| | | | | | | | | | whitespace is a substring of smallest leading whitespace. Based on patch by Robert Li.
* | Issue #23391: Merge OSError doc from 3.4 into 3.5Martin Panter2015-10-261-5/+12
|\ \ | |/
| * Issue #23391: Restore OSError constructor argument documentationMartin Panter2015-10-261-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This restores details lost in revision 097f4fda61a4 (since Python 3.3, related to the new OSError subclasses). Further additions: * Markup for attributes and constructor signature * Explain "winerror" and "filename2" * Extend test to check for filename2 defaulting to None * Clarify that the constructor can return a subclass I have intentionally left out any details of allowing more than five arguments, or how the "args" attribute is set for four or more arguments. These details seem to be dependent on the Python version and platform.
| * Issue #25456: Fix test_idle when Tcl/Tk DLLs are loaded from python.exe's homeZachary Ware2015-10-251-2/+4
| | | | | | | | rather than from elsewhere on PATH.
* | merge 3.4 (#25471)Benjamin Peterson2015-10-251-0/+1
|\ \ | |/
| * accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471)Benjamin Peterson2015-10-251-0/+1
| |
* | Issue #25447: The lru_cache() wrapper objects now can be copied and pickledSerhiy Storchaka2015-10-241-2/+56
| | | | | | | | (by returning the original object unchanged).
* | Issue #23981: Update test_unicodedata to use script_helpersBerker Peksag2015-10-221-10/+5
| | | | | | | | Patch by Christie.
* | Issue #25390: typing: Don't crash on Union[str, Pattern].Guido van Rossum2015-10-191-0/+4
| |
* | Fix whitespace.Guido van Rossum2015-10-191-1/+1
|\ \ | |/
| * Fix whitespace.Guido van Rossum2015-10-191-1/+1
| |
* | Issue #25441: asyncio: Raise error from drain() when socket is closed. ↵Guido van Rossum2015-10-191-0/+43
|\ \ | |/ | | | | (Merge 3.4->3.5)
| * Issue #25441: asyncio: Raise error from drain() when socket is closed.Guido van Rossum2015-10-191-0/+43
| |
* | Closes #25411: Merged fix from 3.4.Vinay Sajip2015-10-171-2/+2
|\ \ | |/
| * Closes #25411: Improved Unicode support in SMTPHandler.Vinay Sajip2015-10-171-2/+2
| |
* | Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end()Serhiy Storchaka2015-10-141-0/+14
| | | | | | | | | | that caused segmentation fault or hang in iterating after moving several items to the start of ordered dict.
* | Issue #25093: Merge with 3.4Zachary Ware2015-10-131-4/+4
|\ \ | |/
| * Issue #25093: Fix test_tcl's testloadWithUNC for paths with spacesZachary Ware2015-10-131-4/+4
| | | | | | | | Patch by Serhiy Storchaka.
* | sys.setrecursionlimit() now raises RecursionErrorVictor Stinner2015-10-121-7/+45
| | | | | | | | | | | | | | Issue #25274: sys.setrecursionlimit() now raises a RecursionError if the new recursion limit is too low depending at the current recursion depth. Modify also the "lower-water mark" formula to make it monotonic. This mark is used to decide when the overflowed flag of the thread state is reset.
* | Issue #25277: Use a longer sleep in test_eintr to reduce the risk of raceVictor Stinner2015-10-121-5/+5
| | | | | | | | condition in test_eintr.
* | No longer skip tests for classes with __getnewargs_ex__. The copy moduleSerhiy Storchaka2015-10-111-4/+0
| | | | | | | | already supports reduce protocol 4 (issue #20289).
* | Cleanup test_descr: remove C8 that is the same as C3.Serhiy Storchaka2015-10-111-8/+0
|\ \ | |/
| * Cleanup test_descr: remove C8 that is the same as C3.Serhiy Storchaka2015-10-111-8/+0
| |