This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, steve.dower, vstinner
Date 2019-07-09.10:07:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562666834.62.0.614300565712.issue37505@roundup.psfhosted.org>
In-reply-to
Content
Some audit events are designed to work before the interpreter is fully initialized or already shut down. These events pass in NULL instead of a PyObject*.

Python/pystate.c:    if (PySys_Audit("cpython.PyInterpreterState_New", NULL) < 0) {
Python/pystate.c:    if (PySys_Audit("cpython.PyInterpreterState_Clear", NULL) < 0) {
Python/sysmodule.c:    PySys_Audit("cpython._PySys_ClearAuditHooks", NULL);

(They are also currently not documented)
History
Date User Action Args
2019-07-09 10:07:14christian.heimessetrecipients: + christian.heimes, vstinner, steve.dower
2019-07-09 10:07:14christian.heimessetmessageid: <1562666834.62.0.614300565712.issue37505@roundup.psfhosted.org>
2019-07-09 10:07:14christian.heimeslinkissue37505 messages
2019-07-09 10:07:14christian.heimescreate