Message307091
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. |
|
Date |
User |
Action |
Args |
2017-11-27 22:01:47 | ncoghlan | set | recipients:
+ 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:47 | ncoghlan | set | messageid: <1511820107.83.0.213398074469.issue10544@psf.upfronthosting.co.za> |
2017-11-27 22:01:47 | ncoghlan | link | issue10544 messages |
2017-11-27 22:01:47 | ncoghlan | create | |
|