Skip to content

[3.8] bpo-37363: Document internal audit events (GH-14663) #16046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Doc/c-api/init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,9 @@ Initializing and finalizing the interpreter
than once; this can happen if an application calls :c:func:`Py_Initialize` and
:c:func:`Py_FinalizeEx` more than once.

.. versionadded:: 3.6
.. audit-event:: cpython._PySys_ClearAuditHooks "" c.Py_FinalizeEx

.. versionadded:: 3.6

.. c:function:: void Py_Finalize()

Expand Down Expand Up @@ -992,12 +993,16 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
be held, but may be held if it is necessary to serialize calls to this
function.

.. audit-event:: cpython.PyInterpreterState_New "" c.PyInterpreterState_New


.. c:function:: void PyInterpreterState_Clear(PyInterpreterState *interp)

Reset all information in an interpreter state object. The global interpreter
lock must be held.

.. audit-event:: cpython.PyInterpreterState_Clear "" c.PyInterpreterState_Clear


.. c:function:: void PyInterpreterState_Delete(PyInterpreterState *interp)

Expand Down