summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_tasks.py
Commit message (Collapse)AuthorAgeFilesLines
* asyncio, Tulip issue #136: Add get/set_debug() methods to BaseEventLoopTests.Victor Stinner2014-02-191-0/+28
| | | | | | Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since Python startup, to be able to debug coroutines defined directly in the asyncio module.
* asyncio: pep8-ify the code.Yury Selivanov2014-02-191-1/+3
|
* asyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. ↵Guido van Rossum2014-02-131-1/+22
| | | | Fixes issue #20566.
* asyncio, Tulip issue 131: as_completed() and wait() now raises a TypeError ifVictor Stinner2014-02-111-0/+26
| | | | the list of futures is not a list but a Future, Task or coroutine object
* asyncio, Tulip issue 126: call_soon(), call_soon_threadsafe(), call_later(),Victor Stinner2014-02-111-7/+5
| | | | | call_at() and run_in_executor() now raise a TypeError if the callback is a coroutine function.
* asyncio: Test fix.Guido van Rossum2014-02-091-1/+1
|
* asyncio.tasks: Fix as_completed, gather & wait to work with duplicate coroutinesYury Selivanov2014-02-071-8/+47
|
* asyncio: Fix misc whitespace issues.Guido van Rossum2014-01-311-11/+12
|
* asyncio: wait_for() now accepts None as timeout (Victor Stinner).Guido van Rossum2014-01-291-0/+11
|
* Update asyncio from the Tulip projectVictor Stinner2014-01-251-299/+297
| | | | | | | | | | | | | | | | 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
* asyncio: wait_for() now cancels the future on timeout. Patch written by GustavoVictor Stinner2014-01-231-15/+14
| | | | Carneiro.
* asyncio: Clean up formatting.Guido van Rossum2013-12-191-1/+3
|
* Close #19967: Thanks to the PEP 442, asyncio.Future can use a destructor inVictor Stinner2013-12-191-0/+2
| | | | | Python 3.4 to log "uncatched" exceptions, instead of the dedicated _TracebackLogger class.
* asyncio: Add Task.current_task() class method.Guido van Rossum2013-12-061-0/+36
|
* Issue #19589: Use specific asserts in asyncio tests.Serhiy Storchaka2013-11-141-1/+1
|
* Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+1518