[Python-Dev] ABCs - Re: PEP 492: async/await in Python; version 4 (original) (raw)
Guido van Rossum guido at python.org
Tue May 5 21:10:01 CEST 2015
- Previous message (by thread): [Python-Dev] ABCs - Re: PEP 492: async/await in Python; version 4
- Next message (by thread): [Python-Dev] PEP 492: async/await in Python; version 4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message (by thread): [Python-Dev] ABCs - Re: PEP 492: async/await in Python; version 4
- Next message (by thread): [Python-Dev] PEP 492: async/await in Python; version 4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]