New submission from Steve Dower <steve.do...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38920>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to