summaryrefslogtreecommitdiffstatshomepage
path: root/Lib/asyncio/coroutines.py
Commit message (Collapse)AuthorAge
* Sync with asyncio repoAndrew Svetlov2016-01-11
|
* asyncio: Error if awaiting in parallel on the same coroutineYury Selivanov2015-11-18
| | | | | | This change won't do anything in CPython 3.4 See https://github.com/python/asyncio/pull/293 for details.
* asyncio: Add asyncio.compat moduleVictor Stinner2015-07-25
| | | | | Move compatibility helpers for the different Python versions to a new asyncio.compat module.
* Issue #24450: Proxy gi_yieldfrom & cr_await in asyncio.CoroWrapperYury Selivanov2015-07-03
|
* Fix asyncio unittests in debug modeYury Selivanov2015-06-24
|
* Issue #24400: Fix CoroWrapper for 'async def' coroutinesYury Selivanov2015-06-24
|
* asyncio: Merge changes from issue #24400.Yury Selivanov2015-06-24
|
* Issue 24017: Fix asyncio.CoroWrapper to support 'async def' coroutinesYury Selivanov2015-05-31
|
* Issue 24004: Support Awaitables (pep 492) in @asyncio.coroutine decoratorYury Selivanov2015-05-30
|
* asyncio: Use 'collections.abc.Coroutine' in asyncio.iscoroutine (in 3.5)Yury Selivanov2015-05-13
|
* asyncio: Support PEP 492. Issue #24017.Yury Selivanov2015-05-11
|
* Asyncio issue 222 / PR 231 (Victor Stinner) -- fix @coroutine functions ↵Guido van Rossum2015-05-02
| | | | without __name__.
* asyncio: Truncate to 80 columnsVictor Stinner2015-01-09
|
* asyncio: sync with TulipVictor Stinner2014-07-11
| | | | | | | - CoroWrapper.__del__() now reuses repr(CoroWrapper) to log the "... was never yielded from" warning - Improve CoroWrapper: copy also the qualified name on Python 3.4, not only on Python 3.5+
* asyncio: sync with TulipVictor Stinner2014-07-11
| | | | | | | - repr(Task) and repr(CoroWrapper) now also includes where these objects were created. If the coroutine is not a generator (don't use "yield from"), use the location of the function, not the location of the coro() wrapper. - Fix create_task(): truncate the traceback to hide the call to create_task().
* asyncio: sync with TulipVictor Stinner2014-07-07
| | | | | | | | - Tulip issue #181: Faster create_connection(). Call directly waiter.set_result() in the constructor of _ProactorBasePipeTransport and _SelectorSocketTransport, instead of using of delaying the call with call_soon(). - Cleanup iscoroutine()
* Closes #21886, #21447: Fix a race condition in asyncio when setting the resultVictor Stinner2014-07-05
| | | | | of a Future with call_soon(). Add an helper, a private method, to set the result only if the future was not cancelled.
* asyncio: sync with TulipVictor Stinner2014-07-03
| | | | | | | | | | * _UnixSubprocessTransport: fix file mode of stdin. Open stdin in write mode, not in read mode * Examples: close the event loop at exit * More reliable CoroWrapper.__del__. If the constructor is interrupted by KeyboardInterrupt or the coroutine objet is destroyed lately, some the _source_traceback attribute doesn't exist anymore. * repr(Task): include also the future the task is waiting for
* asyncio: sync with TulipVictor Stinner2014-06-30
| | | | | | | | | | | - Sort imports - Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it with isinstance(obj, types.GeneratorType) - CoroWrapper: check at runtime if Python has the yield-from bug #21209. If Python has the bug, check if CoroWrapper.send() was called by yield-from to decide if parameters must be unpacked or not. - Fix "Task was destroyed but it is pending!" warning in test_task_source_traceback()
* asyncio: sync with Tulip, add a new asyncio.coroutines moduleVictor Stinner2014-06-29