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-May/139808.html below:

[Python-Dev] ABCs - Re: PEP 492: async/await in Python; version 4

[Python-Dev] ABCs - Re: PEP 492: async/await in Python; version 4 [Python-Dev] ABCs - Re: PEP 492: async/await in Python; version 4Guido van Rossum guido at python.org
Tue May 5 21:10:01 CEST 2015
On Mon, May 4, 2015 at 10:35 AM, Jim J. Jewett <jimjjewett at gmail.com> wrote:

> Which reminds me ... *should* the "await" keyword work with any future,
> or is it really intentionally restricted to use with a single library
> module and 3rd party replacements?
>

You can make any Future type work with await by adding an __await__ method.

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150505/6ba6f8f9/attachment.html>
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