[Python-ideas] Replacing Infinite while Loops with an Iterator: async edition

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jun 23 20:58:41 EDT 2018


jab at math.brown.edu wrote:
> it would be nice if we could write an async version 
> of this, as in ``async for chunk in aiter(...)``.

The time machine seems to have taken care of this:

https://docs.python.org/3.6/reference/compound_stmts.html#the-async-for-statement

-- 
Greg


More information about the Python-ideas mailing list