[New-bugs-announce] [issue38920] Audit events for unhandled exceptions

Steve Dower report at bugs.python.org
Tue Nov 26 12:15:28 EST 2019


New submission from Steve Dower <steve.dower at python.org>:

We currently have no audit events for unhandled exceptions.

While these can be recorded by sys.excepthook or sys.unraisablehook in Python code, there is no way to intercept them from C code set up before running Python code. There's also no way to collect information about what hook is running, in the case where Python code may have overridden it (for example, to suppress error reporting when malicious code fails).

----------
messages: 357517
nosy: steve.dower
priority: normal
severity: normal
stage: needs patch
status: open
title: Audit events for unhandled exceptions
type: enhancement
versions: Python 3.8, Python 3.9

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


More information about the New-bugs-announce mailing list