summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/tasks.py
Commit message (Collapse)AuthorAgeFilesLines
* asyncio: Add __weakref__ slots to Handle and CoroWrapper. Upstream issue #166.Guido van Rossum2014-04-271-1/+1
|
* asyncio: Be careful accessing instance variables in __del__ (closes #21340).Guido van Rossum2014-04-271-1/+3
|
* asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream #163).Guido van Rossum2014-04-151-0/+12
|
* asyncio.tasks: Make sure CoroWrapper.send proxies one argument correctlyYury Selivanov2014-04-151-0/+2
| | | | Issue #21209.
* asyncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1Yury Selivanov2014-04-151-1/+4
| | | | Closes issue #21209.
* asyncio: Document Task.cancel() properly.Victor Stinner2014-04-071-0/+19
|
* asyncio, Tulip issue 158: Task._step() now also sets self to None if anVictor Stinner2014-03-041-1/+1
| | | | exception is raised. self is set to None to break a reference cycle.
* asyncio: remove unused imports and unused variables noticed by pyflakesVictor Stinner2014-02-201-2/+0
|
* asyncio, Tulip issue #136: Add get/set_debug() methods to BaseEventLoopTests.Victor Stinner2014-02-191-1/+4
| | | | | | 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: Fix spelling and typos.Yury Selivanov2014-02-191-1/+1
| | | | Thanks to Vajrasky Kok for discovering some of them.
* asyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. ↵Guido van Rossum2014-02-131-20/+33
| | | | Fixes issue #20566.
* asyncio, Tulip issue 131: as_completed() and wait() now raises a TypeError ifVictor Stinner2014-02-111-0/+4
| | | | the list of futures is not a list but a Future, Task or coroutine object
* asyncio.tasks: Fix as_completed, gather & wait to work with duplicate coroutinesYury Selivanov2014-02-071-3/+4
|
* asyncio.tasks.gather: Fix docstringYury Selivanov2014-02-061-1/+1
|
* asyncio: wait_for() now accepts None as timeout (Victor Stinner).Guido van Rossum2014-01-291-0/+3
|
* asyncio: wait_for() now cancels the future on timeout. Patch written by GustavoVictor Stinner2014-01-231-2/+4
| | | | Carneiro.
* asyncio: Reincarnate CoroWrapper's docstring as a comment.Guido van Rossum2014-01-161-0/+2
|
* asyncio: Fix CoroWrapper (fix my previous commit)Victor Stinner2014-01-161-3/+1
| | | | Add __name__ and __doc__ to __slots__
* asyncio: Fix a typo in CoroWrapperVictor Stinner2014-01-161-1/+1
| | | | __slot__ => __slots__
* Export asyncio.iscoroutine[function].Guido van Rossum2013-12-281-0/+1
|
* asyncio: Add Task.current_task() class method.Guido van Rossum2013-12-061-0/+20
|
* asyncio: Add 'shield' to __all__.Guido van Rossum2013-11-291-1/+1
|
* asyncio: Fold some long lines.Guido van Rossum2013-11-011-2/+3
|
* Rename the logger to plain "logger".Guido van Rossum2013-10-171-3/+3
|
* Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+636