New submission from Christian Exposito <chexc...@gmail.com>:

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 applications handle web 
requests by spawning a new thread. If we allow Async IO module to create event 
loops on those threads, we will improve its adoption for developing web 
applications.

----------
components: asyncio
messages: 370257
nosy: Christian Exposito, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Allow to create new Event Loops on Threads
type: behavior
versions: Python 3.10

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40811>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to