> 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.
Would this mean that with this PEP I can write a for loop like this?
for (await?) item in async_generator():
... code
Or am I misunderstanding something?
footnote: I am not really up to date with the async PEPs, so
please correct me if this has already been discussed
somewhere else.