[Python-ideas] PEP 530: Asynchronous Comprehensions

Yury Selivanov yselivanov.ml at gmail.com
Sat Sep 3 20:37:57 EDT 2016


Hi Chris,


On 2016-09-03 5:34 PM, Chris Angelico wrote:
> On Sun, Sep 4, 2016 at 9:31 AM, Yury Selivanov <yselivanov.ml at gmail.com> wrote:
>> Below is a proposal to add support for asynchronous comprehensions and
>> basynchronous generator expressions in Python 3.6.
> Looks good to me! No content comments, and +1 on the proposal.

Thanks!

> One
> copyedit suggestion:
>
>> In principle, asynchronous generator expressions are allowed in
>> any context.  However, in Python 3.6, due to ``async`` and ``await``
>> soft-keyword status, asynchronous generator expressions are only
>> allowed in an ``async def`` function.  Once ``async`` and ``await``
>> become reserved keywords in Python 3.7 this restriction will be
>> removed.
> Does this want a comma after "3.7"?

Fixed!


Yury


More information about the Python-ideas mailing list