On 2016-09-04 3:10 AM, Adam Bartoš wrote:
will await be allowed also in the "if" part of comprehensions? And what about the "in" part? (e.g. if I'm not mistaken, we may have an asynchronous function returning an asynchronous iterator.)
Yes, awaits will be allowed. I'll update the PEP.