summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Issue #25099: Skip relevant tests in test_compileall when an entry onBrett Cannon2015-10-091-4/+32
| | | | | | | | | | | | | | | | | | | | | | | | sys.path has an unwritable __pycache__ directory. This typically comes up when someone runs the test suite from an administrative install of Python on Windows where the user does not have write permissions to the stdlib's directory. Thanks to Zachary Ware and Matthias Klose for reporting bugs related to this issue. (grafted from 34bbd537b3e688dfbb6498e9083445a6a72fc4b1)
* | Close #25367: Fix test_coroutines()Victor Stinner2015-10-111-1/+1
| | | | | | | | | | Fix usage of support.import_module('asyncio'): store the result in an 'asyncio' variable.
* | lose #25373: Fix regrtest --slow with interrupted testVictor Stinner2015-10-111-1/+2
| |
* | Close #25367: Fix test_coroutines with no thread supportVictor Stinner2015-10-111-1/+3
| | | | | | | | | | Skip test_asyncio_1() when the asyncio module cannot be imported because CPython is compiled with no thread support.
* | Issue #25365: test_pickle now works in threads disabled builds.Serhiy Storchaka2015-10-101-2/+3
|\ \ | |/
| * Issue #25365: test_pickle now works in threads disabled builds.Serhiy Storchaka2015-10-101-2/+3
| |
* | Issue #25322: Merge contextlib.suppress test fix from 3.4 into 3.5Martin Panter2015-10-101-1/+3
|\ \ | |/
| * Issue #25322: Fix test for nested contextlib.suppressMartin Panter2015-10-101-1/+3
| |
* | Issue #24402: Merge potential test fix from 3.4 into 3.5Martin Panter2015-10-101-45/+48
|\ \ | |/
| * Issue #24402: Factor out PtyTests.run_child() in input() testsMartin Panter2015-10-101-45/+48
| | | | | | | | | | | | This reuses existing code to hopefully make the new test_input_no_stdout_ fileno() test work. It is hanging Free BSD 9 and OS X Tiger buildbots, and I don't know why.
* | Issue #24402: Merge input() fix from 3.4 into 3.5Martin Panter2015-10-101-76/+110
|\ \ | |/
| * Issue #24402: Fix input() when stdout.fileno() fails; diagnosed by EryksunMartin Panter2015-10-101-76/+110
| | | | | | | | Also factored out some test cases into a new PtyTests class.
* | Issue #25099: Skip relevant tests in test_compileall when an entry onBrett Cannon2015-10-091-4/+32
| | | | | | | | | | | | | | | | | | | | | | sys.path has an unwritable __pycache__ directory. This typically comes up when someone runs the test suite from an administrative install of Python on Windows where the user does not have write permissions to the stdlib's directory. Thanks to Zachary Ware and Matthias Klose for reporting bugs related to this issue.
* | #25328: add missing raise keyword in decode_data+SMTPUTF8 check.R David Murray2015-10-091-0/+6
| | | | | | | | | | | | | | This is a relatively benign bug, since having both be true was correctly rejected at in SMTPServer even before this patch. Patch by Xiang Zhang.