[issue39765] asyncio loop.set_signal_handler() may not behave as expected

Andrew Svetlov report at bugs.python.org
Wed Feb 26 17:23:52 EST 2020


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

Assuming you mean loop.add_signal_handler() method, I would say that a minute-long delay is a sign of long blocking calls in your program.

Typical asyncio program blocks the loop for 1-10 milliseconds at most, and signal handlers are called with this delay.
This is not your case as I see.

----------

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


More information about the Python-bugs-list mailing list