On 15 November 2016 at 04:39, Yury Selivanov <[email protected]> wrote: > On 2016-11-14 1:35 PM, Sven R. Kunze wrote: >> >> What about making "run" an instance method of coroutines? > > That would require coroutines to be aware of the loop that is running them. > Not having them aware of that is what makes the design simple and allows > alternatives to asyncio.
It also helps minimise the additional work needed for Tornado, Cython, etc to provide their own coroutine implementations. Cheers, Nick. -- Nick Coghlan | [email protected] | Brisbane, Australia _______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
