[issue25489] sys.exit() caught in exception handler

Andrew Svetlov report at bugs.python.org
Sun Mar 20 12:19:27 EDT 2022


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

Not sure if the issue is still relevant.
asyncio re-raises KeyboardInterrupt explicitly in all loop.call_exception_handler() branches: https://github.com/python/cpython/blob/main/Lib/asyncio/base_events.py#L1759-L1814

----------

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


More information about the Python-bugs-list mailing list