A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-April/139491.html below:

[Python-Dev] async/await in Python; v2

[Python-Dev] async/await in Python; v2 [Python-Dev] async/await in Python; v2Greg Ewing greg.ewing at canterbury.ac.nz
Fri Apr 24 10:39:28 CEST 2015
Stephen J. Turnbull wrote:
> Yury Selivanov writes:
> 
>  > I also read "for async item in iter:" as "I'm iterating iter
>  > with async item".
> 
> I thought that was precisely the intended semantics: item is available
> asynchronously.

The async-at-the-end idea could be used here as well.

    for item in iter async:
       ...

    with something as x async:
       ...

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4