[issue39622] KeyboardInterrupt is ignored when await asyncio.sleep(0)

Maor Kleinberger report at bugs.python.org
Sun Feb 23 17:18:07 EST 2020


Maor Kleinberger <kmaork at gmail.com> added the comment:

After opening the PR, I see that add_signal_handler is not supported on non-unix event loop. After looking at the code, it seems there is no problem to implement it for other platforms, as it relies on signal.set_wakeup_fd() which seems to support all platforms. Should I open an enhancement issue for implementing add_signal_handler for all platforms?

----------

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


More information about the Python-bugs-list mailing list