[Python-ideas] More general "for" loop handling

Stefan Behnel stefan_ml at behnel.de
Thu Apr 30 18:03:55 CEST 2015


Steven D'Aprano schrieb am 30.04.2015 um 13:36:
> "async for" hasn't proven itself yet, and you are already looking to 
> generalise it? Shouldn't it prove itself as not a mistake first?

Also, it should be quite possible to achieve what the OP proposed with
"async for" since it's in no way limited to the way asyncio handles things.
"async for" is a bit of a badly named feature, but that's intended in order
to match what people would know from other programming languages.

Stefan




More information about the Python-ideas mailing list