On 2016-09-04 3:10 AM, Adam Bartoš wrote:
Hello,
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.
Yury
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/