[New-bugs-announce] [issue41162] Clear audit hooks after destructors
report at bugs.python.org
Mon Jun 29 12:28:11 EDT 2020
New submission from Steve Dower <steve.dower at python.org>:
Because of when _Py_ClearAuditHooks is called during finalization, it is possible that __del__ destructors will be called after hooks have been cleared. Audit events that would be raised here are dropped.
We should ensure these events are received by any known hooks for the interpreter (Python) or the runtime (C).
(Thanks to Frank Li for the report.)
components: Interpreter Core
nosy: christian.heimes, steve.dower
stage: needs patch
title: Clear audit hooks after destructors
versions: Python 3.10, Python 3.8, Python 3.9
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce