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

Roger Dahl report at bugs.python.org
Wed Feb 26 17:29:53 EST 2020


Roger Dahl <git at dahlsys.com> added the comment:

> I'm sorry. but loop.set_signal_handler() method doesn't exist.

Oops, fixed.

> 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.

During the delay for the callback to occur, I see my program logging work performed on other asyncio tasks and receiving timer events from another thread. So, not long blocking?

----------

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


More information about the Python-bugs-list mailing list