[issue36829] Add sys.unraisablehook() to custom how "unraisable exceptions" are logged

STINNER Victor report at bugs.python.org
Mon May 27 18:57:04 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

Ok, the initial issue has been fixed by adding a new sys.unraisablehook() function. You can kill the process with SIGABRT using the recipe I proposed there:
https://bugs.python.org/issue36829#msg343201

As a follow-up, I created bpo-37069: "regrtest: log unraisable exceptions and uncaught thread exceptions".

Thanks Thomas Grainger for reviews and for reporting this interesting issue ;-)

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list