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

Andrew Svetlov report at bugs.python.org
Tue Jul 9 07:08:51 EDT 2019


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

Good point.
For proactor event loop set_wakeup_fd() is used for Ctrl+C handling.
Skipping this call for non-main thread in proactor implementation makes sense.

----------
assignee:  -> asvetlov

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34679>
_______________________________________


More information about the Python-bugs-list mailing list