[New-bugs-announce] [issue27168] Yury isn't sure comprehensions and await interact correctly

Nathaniel Smith report at bugs.python.org
Tue May 31 14:06:54 EDT 2016


New submission from Nathaniel Smith:

So he asked me to file a bug reminding him to write more unit tests.

Interesting cases:

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

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

(and ditto for [], {} comprehensions)

----------
components: Interpreter Core
messages: 266763
nosy: njs, yselivanov
priority: normal
severity: normal
status: open
title: Yury isn't sure comprehensions and await interact correctly
versions: Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27168>
_______________________________________


More information about the New-bugs-announce mailing list