Nick Coghlan <ncogh...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue10544>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to