[issue40811] Allow to create new Event Loops on Threads

2022-03-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: I suggest closing. The documentation explicitly describes how asyncio works with threads. -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40811] Allow to create new Event Loops on Threads

2021-05-19 Thread Irit Katriel
Irit Katriel added the comment: Should this be closed as rejected or is there further discussion? -- nosy: +iritkatriel ___ Python tracker ___

[issue40811] Allow to create new Event Loops on Threads

2020-05-28 Thread Christian Heimes
Christian Heimes added the comment: The default policy of asyncio deliberately limits automatic creation of event loops to the main thread. You can't just mix asyncio with a threaded web application and expect it to work correctly. See

[issue40811] Allow to create new Event Loops on Threads

2020-05-28 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +19748 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20500 ___ Python tracker

[issue40811] Allow to create new Event Loops on Threads

2020-05-28 Thread Christian Exposito
New submission from Christian Exposito : Right now, Async IO module is not automatically creating a new event loop on threads that are not the main thread (https://github.com/python/cpython/blob/master/Lib/asyncio/events.py#L638), but it should be interesting to do it. For example, WSGI