JIanqiu Tao <zko...@outlook.com> added the comment:
Patch attached below works well, but with less functionality for users' audit hook. Pure Python audit hook implement looks safe enough. Should we need call _PySys_ClearAuditHooks earlier for more functionality? ---------- keywords: +patch nosy: +zkonge Added file: https://bugs.python.org/file49276/clearaudithook.patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41162> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com