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/139429.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
Thu Apr 23 14:10:56 CEST 2015
Andrew Svetlov wrote:
> From my understanding to use cofunctions I must wrap it with costart call:
> 
> yield from gather(costart(coro1, a1, a2), costart(coro2), fut3)
> 
> There are other places in asyncio API those accept coroutines or
> futures as parameters, not only Task() and async().

In a PEP 3152 aware version of asyncio, they would all
know about cofunctions and what to do with them.

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