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 ncoghlan
Recipients Inyeol.Lee, Jim Fasarakis-Hilliard, belopolsky, benjamin.peterson, danielsh, emptysquare, erickt, esc24, georg.brandl, glyph, gvanrossum, ncoghlan, rhettinger, serhiy.storchaka, yselivanov
Date 2017-11-27.22:01:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511820107.83.0.213398074469.issue10544@psf.upfronthosting.co.za>
In-reply-to
Content
As far as I'm aware, there's nothing that specifically promises these constructs will do anything in Py3 at all - the existing behaviour is just an accident of implementation arising from the way nested scopes and yield expressions interact in general.

Tinkering with "await" in comprehensions and generator expressions would be different, since PEP 530 actually does make promises about how we expect that to work.
History
Date User Action Args
2017-11-27 22:01:47ncoghlansetrecipients: + ncoghlan, gvanrossum, georg.brandl, rhettinger, belopolsky, benjamin.peterson, erickt, glyph, Inyeol.Lee, serhiy.storchaka, yselivanov, esc24, danielsh, emptysquare, Jim Fasarakis-Hilliard
2017-11-27 22:01:47ncoghlansetmessageid: <1511820107.83.0.213398074469.issue10544@psf.upfronthosting.co.za>
2017-11-27 22:01:47ncoghlanlinkissue10544 messages
2017-11-27 22:01:47ncoghlancreate