summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20452: Remove debug code, no more neededVictor Stinner2014-01-311-13/+1
|
* Issue #20452: select and selectors round (again) timeout away from zero forVictor Stinner2014-01-311-13/+10
| | | | | | poll and epoll Improve also debug info to analyze the issue
* Issue #20452: Oops, fix debug code :-/Victor Stinner2014-01-311-0/+6
| | | | Add also event more debug info
* Issue #20452: add more info in case of test_asyncio failure to try to debug theVictor Stinner2014-01-311-1/+10
| | | | failure on buildbot "x86 Ubuntu Shared 3.x"
* asyncio: Fix misc whitespace issues.Guido van Rossum2014-01-312-13/+14
|
* asyncio: Future.set_exception(exc) should instantiate exc if it is a class.Victor Stinner2014-01-311-0/+5
|
* Issue #20373: generalize use of test.script_helper in test_warnings. Patch ↵Antoine Pitrou2014-01-291-43/+22
|\ | | | | | | by Arfrever.
| * Issue #20373: generalize use of test.script_helper in test_warnings. Patch ↵Antoine Pitrou2014-01-291-43/+22
| | | | | | | | by Arfrever.
* | asyncio: subprocess_shell() and subprocess_exec() now raise ValueError ↵Victor Stinner2014-01-291-0/+32
| | | | | | | | | | | | instead of assert. Moreover, bufsize different than 0 is now considered as an error.
* | asyncio: wait_for() now accepts None as timeout (Victor Stinner).Guido van Rossum2014-01-291-0/+11
| |
* | inspect.signature: Make sure that if a callable object has '_patialmethod'Yury Selivanov2014-01-291-0/+5
| | | | | | | | attribute, that attribute is an instance of 'functools.partialmethod'.
* | inspect.test.getfullargspec: Add a unittest to ensure correct annotationsYury Selivanov2014-01-291-0/+9
| | | | | | | | handling #17481
* | inspect.getfullargspec: Use inspect.signature API behind the scenes #17481Yury Selivanov2014-01-291-1/+41
| |
* | inspect.Signature: ensure that non-default params don't follow default ones ↵Yury Selivanov2014-01-291-1/+12
| | | | | | | | #20427
* | inspect.signature: Add support for decorated (wrapped) builtins #20425Yury Selivanov2014-01-291-0/+15
| |
* | inspect.Signature: Make from_builtin to raise an exception if no signature canYury Selivanov2014-01-291-0/+4
| | | | | | | | be provided #20422
* | Issue #20424: Python implementation of io.StringIO now supports lone surrogates.Serhiy Storchaka2014-01-291-0/+9
|\ \ | |/
| * Issue #20424: Python implementation of io.StringIO now supports lone surrogates.Serhiy Storchaka2014-01-291-0/+9
| |
* | inspect.Signature.bind: Fix pos-only params with defaults; fix *args in ↵Yury Selivanov2014-01-281-0/+25
| | | | | | | | | | | | named args #19140 Initial patch by Yann Kaiser (epsy).
* | inspect.signature: Handle bound methods with '(*args)' signature correctly ↵Yury Selivanov2014-01-281-4/+19
| | | | | | | | #20401
* | inspect.tests: Remove redundant unittestYury Selivanov2014-01-281-5/+0
| | | | | | | | The removed unittest duplicates the other one (test_signature_on_builtins_no_signature)
* | Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-283-5/+5
| | | | | | | | | | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).
* | inspect.signature: Support classes without user-defined __init__/__new__ #20308Yury Selivanov2014-01-281-0/+14
| |
* | inspect.signature: Add support for 'functools.partialmethod' #20223Yury Selivanov2014-01-271-0/+27
| |
* | Issue #19456: ntpath.join() now joins relative paths correctly when a driveSerhiy Storchaka2014-01-271-33/+36
|\ \ | |/ | | | | is present.
| * Issue #19456: ntpath.join() now joins relative paths correctly when a driveSerhiy Storchaka2014-01-271-32/+35
| | | | | | | | is present.
* | inspect.signature: Use '/' to separate positional-only parameters fromYury Selivanov2014-01-271-16/+24
| | | | | | | | the rest in Signature.__str__. #20356
* | inspect.getfile: Don't crash on classes without '__module__' attribute #20372Yury Selivanov2014-01-271-0/+10
| | | | | | | | | | Some classes defined in C may not have the '__module__' attribute, so we now handle this case to avoid having unexepected AttributeError.
* | Issue #19077: tempfile.TemporaryDirectory cleanup no longer fails whenSerhiy Storchaka2014-01-271-47/+39
|\ \ | |/ | | | | | | called during shutdown. Emitting resource warning in __del__ no longer fails. Original patch by Antoine Pitrou.
| * Issue #19077: tempfile.TemporaryDirectory cleanup is now most likelySerhiy Storchaka2014-01-271-47/+37
| | | | | | | | | | | | successful when called during nulling out of modules during shutdown. Misleading exception no longer raised when resource warning is emitted during shutdown.
| * Issue #20367: Fix behavior of concurrent.futures.as_completed() for duplicateVictor Stinner2014-01-271-0/+7
| | | | | | | | arguments. Patch by Glenn Langford.
* | Issue #19990: Added tests for the imghdr module.Serhiy Storchaka2014-01-2613-1/+141
|\ \ | |/ | | | | Based on patch by Claudiu Popa.
| * Issue #19990: Added tests for the imghdr module.Serhiy Storchaka2014-01-2613-1/+140
| | | | | | | | Based on patch by Claudiu Popa.
| * Issue #8260: The read(), readline() and readlines() methods ofSerhiy Storchaka2014-01-261-2/+34
| | | | | | | | | | codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
* | Fix issue #20367: concurrent.futures.as_completed() for duplicate arguments.Guido van Rossum2014-01-261-0/+7
| | | | | | | | Patch by Glenn Langford.
* | Issue #8260: The read(), readline() and readlines() methods ofSerhiy Storchaka2014-01-261-2/+34
| | | | | | | | | | codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
* | Close #20105: set __traceback__ when chaining exceptions in CNick Coghlan2014-01-261-0/+1
| |
* | Issue #20358: Tests for curses.window.overlay and curses.window.overwriteLarry Hastings2014-01-261-2/+2
| | | | | | | | no longer specify min{row,col} > max{row,col}.
* | asyncio: Rename {Empty,Full} to {QueueEmpty,QueueFull} and no longer get ↵Guido van Rossum2014-01-261-2/+2
| | | | | | | | them from queue.py.
* | asyncio: Locks refactor: use a separate context manager; remove ↵Guido van Rossum2014-01-261-0/+35
| | | | | | | | Semaphore._locked.
* | Merge latest Tulip into asyncioVictor Stinner2014-01-251-2/+2
| | | | | | | | | | | | - Make the new granularity attribute private - Simplify BaseEventLoop._run_once(): avoid math.ceil(), use simple arithmetic instead
* | Issue #20311: Fix test_telnetlib, set the resolution of the MockSelectorVictor Stinner2014-01-251-0/+4
| |
* | Issue 19944: Fix importlib.find_spec() so it imports parents as needed.Eric Snow2014-01-253-150/+182
| | | | | | | | The function is also moved to importlib.util.
* | asyncio: Don't export BaseEventLoop, BaseSelectorEventLoop norVictor Stinner2014-01-254-8/+12
| | | | | | | | | | | | BaseProactorEventLoop Import them from submodules if you really need them.
* | Update asyncio from the Tulip projectVictor Stinner2014-01-2512-873/+893
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major changes: - StreamReader.readexactly() now raises an IncompleteReadError if the end of stream is reached before we received enough bytes, instead of returning less bytes than requested. - Unit tests use the main asyncio module instead of submodules like events - _UnixWritePipeTransport now also supports character devices, as _UnixReadPipeTransport. Patch written by Jonathan Slenders. - Export more symbols: BaseEventLoop, BaseProactorEventLoop, BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
* | test_selectors: remove unused importsVictor Stinner2014-01-251-1/+1
| |
* | Issue #20311: asyncio: Add a granularity attribute to BaseEventLoop: maximumVictor Stinner2014-01-252-1/+26
| | | | | | | | | | | | between the resolution of the BaseEventLoop.time() method and the resolution of the selector. The granuarility is used in the scheduler to round time and deadline.
* | Issue #20311: selectors: Add a resolution attribute to BaseSelector.Victor Stinner2014-01-251-0/+5
| |
* | Issue #20311: Revert e042ea77a152 and 7ce7295393c2, PollSelector.select() andVictor Stinner2014-01-251-19/+0
| | | | | | | | EpollSelector.select() round again the timeout towards zero
* | (Merge 3.3) Issue #20311: Revert 033137c12d88 (02f9db3e684e),Victor Stinner2014-01-251-11/+0
|\ \ | |/ | | | | select.epoll.poll() rounds again the timeout towards zero