On Mon, May 4, 2015 at 10:35 AM, Jim J. Jewett <[email protected]> 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)
_______________________________________________ Python-Dev mailing list [email protected] https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
