[issue34680] asyncio event_loop fails when accessed from multiple threads

2022-01-26 Thread epiphyte


epiphyte  added the comment:

For additional context, this was encountered when porting an application from 
threading to asyncio, and at the time we were still running the ioloop in its 
own thread as opposed to the mainthread. We no longer do that :D

Updating the documentation to clarify that the loop won't work across threads, 
like what we ran into at the time, would resolve this.

--

___
Python tracker 
<https://bugs.python.org/issue34680>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29211] assertRaises with exceptions re-raised from a generator kills generator

2020-05-05 Thread epiphyte


Change by epiphyte :


--
nosy: +epiphyte

___
Python tracker 
<https://bugs.python.org/issue29211>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35945] Cannot distinguish between subtask cancellation and running task cancellation

2019-02-08 Thread epiphyte


Change by epiphyte :


--
nosy: +epiphyte

___
Python tracker 
<https://bugs.python.org/issue35945>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34679] asyncio.add_signal_handler call fails if not on main thread

2018-09-14 Thread epiphyte


Change by epiphyte :


--
nosy: +epiphyte

___
Python tracker 
<https://bugs.python.org/issue34679>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<https://bugs.python.org/issue34680>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34349] asyncio.wait should accept generator of tasks as first argument

2018-08-06 Thread epiphyte


Change by epiphyte :


--
nosy: +epiphyte

___
Python tracker 
<https://bugs.python.org/issue34349>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com