mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
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.
This commit is contained in:
parent
6db6b30ac2
commit
232465204e
8 changed files with 36 additions and 13 deletions
2
PC/python3dll.c
generated
2
PC/python3dll.c
generated
|
@ -568,6 +568,8 @@ EXPORT_FUNC(PyStructSequence_SetItem)
|
|||
EXPORT_FUNC(PySys_AddWarnOption)
|
||||
EXPORT_FUNC(PySys_AddWarnOptionUnicode)
|
||||
EXPORT_FUNC(PySys_AddXOption)
|
||||
EXPORT_FUNC(PySys_Audit)
|
||||
EXPORT_FUNC(PySys_AuditTuple)
|
||||
EXPORT_FUNC(PySys_FormatStderr)
|
||||
EXPORT_FUNC(PySys_FormatStdout)
|
||||
EXPORT_FUNC(PySys_GetObject)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue