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/139486.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:13:11 CEST 2015
Yury Selivanov wrote:

> If you have a future object 'fut', it's not intuitive
> or pythonic to write 'cocall fut()'.

Another way to approach that would be to provide
a cofunction await() used like this:

    cocall await(fut)

That would read more naturally and wouldn't require
modifying fut at all.

-- 
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