[issue39765] asyncio loop.add_signal_handler() may not behave as expected
Andrew Svetlov
report at bugs.python.org
Thu Feb 27 14:01:55 EST 2020
Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:
Other threads are not related.
Speaking about the main thread that runs an event loop with the signal handler installed -- the handler is executed along with other async code.
If the loop executes some user-provides async task -- it executes the signal handler as well if needed.
This is why I suspect that the discussed program is not completely correct.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39765>
_______________________________________
More information about the Python-bugs-list
mailing list