(original) (raw)

On Mon, May 4, 2015 at 10:35 AM, Jim J. Jewett <jimjjewett@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)