[issue10544] yield expression inside generator expression does nothing

Guido van Rossum report at bugs.python.org
Thu Nov 23 11:21:14 EST 2017


Guido van Rossum <guido at python.org> added the comment:

Remind me what happens when you use `await` in a generator expression that
survives the async function's scope?

async def f(xs):
    return (await x for x in xs)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue10544>
_______________________________________


More information about the Python-bugs-list mailing list