[issue10544] yield expression inside generator expression does nothing
Ivan Levkivskyi
report at bugs.python.org
Thu Nov 23 11:26:26 EST 2017
Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:
> Remind me what happens when you use `await` in a generator expression that survives the async function's scope?
Awaiting on f([1, 2]) will result in an async generator (even though yield never appears here). Yury explained why this happens in https://bugs.python.org/issue32113
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue10544>
_______________________________________
More information about the Python-bugs-list
mailing list