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 levkivskyi
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.11:47:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511437654.49.0.213398074469.issue10544@psf.upfronthosting.co.za>
In-reply-to
Content
Nick,

> Yury took all this into account when designing the interaction between `await` and comprehensions (which is why that's in a better state), but for `yield` we inherited the existing behaviour of any other nested function.

Actually the fact that `await` in comprehensions already works right is one of my main arguments that we can also fix `yield`. So I am totally with Serhiy here.
History
Date User Action Args
2017-11-23 11:47:34levkivskyisetrecipients: + levkivskyi, gvanrossum, arigo, georg.brandl, rhettinger, ncoghlan, belopolsky, benjamin.peterson, erickt, glyph, Inyeol.Lee, serhiy.storchaka, yselivanov, esc24, danielsh, emptysquare, Jim Fasarakis-Hilliard
2017-11-23 11:47:34levkivskyisetmessageid: <1511437654.49.0.213398074469.issue10544@psf.upfronthosting.co.za>
2017-11-23 11:47:34levkivskyilinkissue10544 messages
2017-11-23 11:47:34levkivskyicreate