[issue40811] Allow to create new Event Loops on Threads

Christian Exposito report at bugs.python.org
Thu May 28 13:54:39 EDT 2020


New submission from Christian Exposito <chexca20 at 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 <report at bugs.python.org>
<https://bugs.python.org/issue40811>
_______________________________________


More information about the Python-bugs-list mailing list