Message245624
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() |
|
Date |
User |
Action |
Args |
2015-06-22 12:00:36 | martin.panter | set | recipients:
+ martin.panter, ncoghlan, docs@python, yselivanov |
2015-06-22 12:00:36 | martin.panter | set | messageid: <1434974436.12.0.0473100135758.issue24439@psf.upfronthosting.co.za> |
2015-06-22 12:00:36 | martin.panter | link | issue24439 messages |
2015-06-22 12:00:36 | martin.panter | create | |
|