[Python-ideas] Built-in function to run coroutines

Yury Selivanov yselivanov.ml at gmail.com
Mon Nov 14 13:39:24 EST 2016



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.

All in all I'd be strong -1 to do that.

Yury


More information about the Python-ideas mailing list