Message281055
This isn't a bug. Python doesn't magically unwind awaitables, you have to do that yourself:
async def two():
await (await one())
Broadly speaking, returning awaitables from coroutines is an anti-pattern.
Closing this one. Feel free to re-open or ask questions :) |
|
Date |
User |
Action |
Args |
2016-11-17 17:02:49 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, allenap |
2016-11-17 17:02:49 | yselivanov | set | messageid: <1479402169.33.0.390501045221.issue28725@psf.upfronthosting.co.za> |
2016-11-17 17:02:49 | yselivanov | link | issue28725 messages |
2016-11-17 17:02:49 | yselivanov | create | |
|