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 Adam Gregory, asvetlov, docs@python, eric.smith, gvanrossum, yselivanov
Date 2017-12-21.00:06:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513814760.6.0.213398074469.issue28942@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like it's working now:

    import asyncio


    async def foo():
        return 32


    async def bar():
        print(f'{await foo()}')


    asyncio.run(bar())

Prints:

    32
History
Date User Action Args
2017-12-21 00:06:00yselivanovsetrecipients: + yselivanov, gvanrossum, eric.smith, asvetlov, docs@python, Adam Gregory
2017-12-21 00:06:00yselivanovsetmessageid: <1513814760.6.0.213398074469.issue28942@psf.upfronthosting.co.za>
2017-12-21 00:06:00yselivanovlinkissue28942 messages
2017-12-21 00:06:00yselivanovcreate