diff options
author | Victor Stinner <vstinner@python.org> | 2023-10-17 14:02:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 14:02:23 (GMT) |
commit | 232465204edb070751f4794c67dd31cd9b7c8c53 (patch) | |
tree | 05d9deff96dd8c8ef03c16c48e5146e572d60838 /Lib/test | |
parent | 6db6b30ac2734b94f66166cee320028c4ba1d30e (diff) | |
download | cpython-232465204edb070751f4794c67dd31cd9b7c8c53.zip cpython-232465204edb070751f4794c67dd31cd9b7c8c53.tar.gz cpython-232465204edb070751f4794c67dd31cd9b7c8c53.tar.bz2 |
gh-85283: Add PySys_Audit() to the limited C API (#108571)
The PySys_Audit() function was added in Python 3.8 by the PEP 578
"Python Runtime Audit Hooks".
Add also PySys_AuditTuple() to the limited C API, function added
to Python 3.13.
Move non-limited "PerfMap" C API from Include/sysmodule.h to
Include/cpython/sysmodule.h.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_stable_abi_ctypes.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_stable_abi_ctypes.py b/Lib/test/test_stable_abi_ctypes.py index 0c831c4..6d5353c 100644 --- a/Lib/test/test_stable_abi_ctypes.py +++ b/Lib/test/test_stable_abi_ctypes.py @@ -626,6 +626,8 @@ SYMBOL_NAMES = ( "PySys_AddWarnOption", "PySys_AddWarnOptionUnicode", "PySys_AddXOption", + "PySys_Audit", + "PySys_AuditTuple", "PySys_FormatStderr", "PySys_FormatStdout", "PySys_GetObject", |