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 zsol
Recipients zsol
Date 2018-04-26.05:18:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524719930.25.0.682650639539.issue33363@psf.upfronthosting.co.za>
In-reply-to
Content
Since 3.7, async generators can be used in non-async functions. The way this is implemented allows the following to be valid syntax:

def f():
    async for i in aiterable:
        pass
    return 1

The return value of the above function is a Future that will never be done().
History
Date User Action Args
2018-04-26 05:18:50zsolsetrecipients: + zsol
2018-04-26 05:18:50zsolsetmessageid: <1524719930.25.0.682650639539.issue33363@psf.upfronthosting.co.za>
2018-04-26 05:18:50zsollinkissue33363 messages
2018-04-26 05:18:49zsolcreate