[issue34680] asyncio event_loop close fails off main thread if signal handler registered

2022-01-24 Thread Irit Katriel
Irit Katriel added the comment: The documentation should explicitly mention that an event loop should be accessed from only one thread (it hints at this by referring to "the loop of the current thread" but I don't see this stated clearly). In the code, it would be good if multi-threaded

[issue34680] asyncio event_loop close fails off main thread if signal handler registered

2018-09-14 Thread epiphyte
Change by epiphyte : -- nosy: +epiphyte ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34680] asyncio event_loop close fails off main thread if signal handler registered

2018-09-14 Thread Nic Watson
New submission from Nic Watson : If a signal handler callback is registered on an event loop, and the event loop has close() called on it, the close will fail. Exception: Exception in thread Thread-1: Traceback (most recent call last): File