This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients allenap, gvanrossum, yselivanov
Date 2016-11-17.17:02:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479402169.33.0.390501045221.issue28725@psf.upfronthosting.co.za>
In-reply-to
Content
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 :)
History
Date User Action Args
2016-11-17 17:02:49yselivanovsetrecipients: + yselivanov, gvanrossum, allenap
2016-11-17 17:02:49yselivanovsetmessageid: <1479402169.33.0.390501045221.issue28725@psf.upfronthosting.co.za>
2016-11-17 17:02:49yselivanovlinkissue28725 messages
2016-11-17 17:02:49yselivanovcreate