[issue37505] Early auditing broken

STINNER Victor report at bugs.python.org
Fri Jul 5 10:23:47 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

I don't see how the first call to PyInterpreterState_New() can be audited: PySys_Audit() builds a tuple to call hooks, but there is no interpreter yet, so we cannot even build tuples.

Are you talking about the "main" interpreter, or sub-interpreters?

I'm surprised that it worked previously for the main interpreter.

----------

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


More information about the Python-bugs-list mailing list