summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25764: Skip the test on OS XMartin Panter2015-12-051-0/+2
| | | | | | | The OS X buildbots were failing at the second setrlimit() call with EPERM, as if they were trying to raise the hard limit. The call should be keeping the hard limit the same and raising the soft limit back to its original value, so I don't understand the failure.
* Issue #25800: Fix running test_capi directlyZachary Ware2015-12-051-1/+2
|
* #24903: Remove misleading error message to fix regression.R David Murray2015-12-051-8/+0
| | | | | | | | | | | | Before the argparse conversion, compileall would (sometimes) accept multiple paths when -d was specified. Afterward, it does not. The corresponding check in the original code claimed to prevent multiple *directories* from being specified...but it didn't really work even to do that. So this patch fixes the regression by invoking the consenting adults rule: if you specify a combination of arguments to compileall that produces files with inconsistent destdirs (which you could do before), it is on you. Patch by Jake Garver.
* Issue #25764: Preserve subprocess fork exception when preexec_fn usedMartin Panter2015-11-301-0/+16
| | | | Also fix handling of failure to release the import lock.
* Issue #6478: _strptime's regexp cache now is reset after changing timezoneSerhiy Storchaka2015-12-031-7/+33
| | | | with time.tzset().
* Issue #25709: Fixed problem with in-place string concatenation and utf-8 cache.Serhiy Storchaka2015-12-021-0/+17
|
* Fix for issue #25177 with the mean of very small and very large numbers.Steven D'Aprano2015-12-011-48/+315
|
* Issue #25718: Fixed copying object with state with boolean value is false.Serhiy Storchaka2015-11-301-0/+9
|
* Issue #25761: Added more test cases for testing unpickling broken data.Serhiy Storchaka2015-11-292-93/+210
| | | | Output raised exception at verbose level 2 (-vv).
* Issue #10131: Fixed deep copying of minidom documents. Based on patchSerhiy Storchaka2015-11-262-42/+88
| | | | by Marian Ganisin.
* Issue #24097: Fixed crash in object.__reduce__() if slot name is freed insideSerhiy Storchaka2015-11-251-0/+17
| | | | __getattr__. Original patch by Antoine Pitrou.
* Issue #25616: Tests for OrderedDict are extracted from test_collectionsSerhiy Storchaka2015-11-252-307/+315
| | | | into separate file test_ordered_dict.
* Issue #24731: Fixed crash on converting objects with special methodsSerhiy Storchaka2015-11-254-4/+40
| | | | | __bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and float correspondingly.
* Issue #25663: Make rlcompleter avoid duplicate global namesMartin Panter2015-11-231-0/+21
|
* Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error.Serhiy Storchaka2015-11-231-2/+27
|
* Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.Serhiy Storchaka2015-11-232-1/+87
|
* Issue #25691: Fixed crash on deleting ElementTree.Element attributes.Serhiy Storchaka2015-11-232-0/+59
|
* Issue #25624: ZipFile now always writes a ZIP_STORED header for directorySerhiy Storchaka2015-11-221-0/+23
| | | | entries. Patch by Dingyuan Wang.
* Issue #19687: Fixed memory leak on failed Element slice assignment.Serhiy Storchaka2015-11-221-0/+75
| | | | Added new tests for Element slice assignments.
* Issue #25686: test_shutil no longer uses the distutils package for searchingSerhiy Storchaka2015-11-211-9/+7
| | | | and running external archivers.
* asyncio: Fix with githubYury Selivanov2015-11-201-3/+4
| | | | See https://github.com/python/asyncio/pull/295 for details
* asyncio.tests: Fix whitespaceYury Selivanov2015-11-201-4/+3
|
* asyncio: Sync with githubYury Selivanov2015-11-201-1/+1
|
* Issue #25583: Avoid incorrect errors raised by os.makedirs(exist_ok=True)Martin Panter2015-11-191-0/+3
|
* Issue #25593: Change semantics of EventLoop.stop().Guido van Rossum2015-11-191-0/+53
|
* asyncio: Cleanup Future APIYury Selivanov2015-11-171-4/+7
| | | | See https://github.com/python/asyncio/pull/292 for details.
* asyncio: Add Transport.is_closing()Yury Selivanov2015-11-164-13/+13
| | | | See https://github.com/python/asyncio/pull/291 for details.
* Issue #20220: Add DST rules to work around glibc quirkMartin Panter2015-11-161-1/+3
| | | | This was triggering intermittent failures in unrelated tests.
* Issue #9051: Added tests for pickling and copying the timezone objects.Serhiy Storchaka2015-11-161-1/+28
|
* Issue #25388: Fixed tokenizer crash when processing undecodable source codeSerhiy Storchaka2015-11-141-0/+10
| | | | with a null byte.
* Fix a few grammar problems in the documentation and commentsMartin Panter2015-11-141-1/+1
|
* Issue #25590: Make rlcompleter only call getattr() once per attributeMartin Panter2015-11-131-0/+13
| | | | | | Previously it was called another time via hasattr(), and both calls were made once for dir(f) and again for dir(f.__class__). This includes a backport of changing from a list to a set from revision 4dbb315fe667.
* asyncio: Fix sporadic failing unittests in debug modeYury Selivanov2015-11-131-14/+18
|
* Issue #25607: Restore old distutils logging threshold after running tests thatSerhiy Storchaka2015-11-121-1/+1
| | | | parse command line arguments.
* Issue #22995: Default implementation of __reduce__ and __reduce_ex__ nowSerhiy Storchaka2015-11-124-0/+63
| | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types.
* always set OP_NO_SSLv3 by default (closes #25530)Benjamin Peterson2015-11-121-9/+9
|
* Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.Serhiy Storchaka2015-11-101-1/+4
| | | | Use time.monotonic or time.time instead of time.clock.
* 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 #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: Fix pydoc web server search to handle package exceptionsMartin Panter2015-11-061-6/+32
| | | | Implementation by Antoine Pitrou.
* asyncio: Optimize asyncio.sleep(0)Yury Selivanov2015-11-051-0/+24
|
* Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-025-5/+5
|
* 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 #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: 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.
* accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471)Benjamin Peterson2015-10-251-0/+1
|
* Fix whitespace.Guido van Rossum2015-10-191-1/+1
|