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 Inyeol.Lee, Jim Fasarakis-Hilliard, arigo, belopolsky, benjamin.peterson, danielsh, emptysquare, erickt, esc24, georg.brandl, glyph, gvanrossum, levkivskyi, ncoghlan, rhettinger, serhiy.storchaka, yselivanov
Date 2017-11-23.16:32:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511454726.11.0.213398074469.issue10544@psf.upfronthosting.co.za>
In-reply-to
Content
> Yury explained why this happens in https://bugs.python.org/issue32113

It happens because '(x for x in xs)' creates a synchronous generator.  So when there's an 'await' in it, it creates an asynchronous generator.
History
Date User Action Args
2017-11-23 16:32:06yselivanovsetrecipients: + yselivanov, gvanrossum, arigo, georg.brandl, rhettinger, ncoghlan, belopolsky, benjamin.peterson, erickt, glyph, Inyeol.Lee, serhiy.storchaka, esc24, danielsh, emptysquare, levkivskyi, Jim Fasarakis-Hilliard
2017-11-23 16:32:06yselivanovsetmessageid: <1511454726.11.0.213398074469.issue10544@psf.upfronthosting.co.za>
2017-11-23 16:32:06yselivanovlinkissue10544 messages
2017-11-23 16:32:06yselivanovcreate