[docs] [issue24439] Feedback for awaitable coroutine documentation
Martin Panter
report at bugs.python.org
Mon Jun 22 14:00:36 CEST 2015
Martin Panter added the comment:
When I update my patch I can try updating the asyncio section. However I have only had limited experience with asyncio, so feel free to suggest things to add. Here is a list of things I think may need changing:
* “async def” routines are allowed in addition to generators in asyncio (e.g. in Task constructor)
* Other awaitables are also accepted as asyncio coroutines
* List of “yield from” actions could be augmented with “await”, “async for”, etc
* The coroutines provided by asyncio are both iterable and awaitable, so they may be used with both “yield from” and “await”
* Change references of asyncio.async() to ensure_future()
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24439>
_______________________________________
More information about the docs
mailing list