summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API/2023-09-06-00-14-49.gh-issue-85283.GKY0Cc.rst
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-10-05 21:59:35 (GMT)
committerGitHub <noreply@github.com>2023-10-05 21:59:35 (GMT)
commitbb057b337008626139d97269485b1dddf70ae427 (patch)
tree72f3c3f1a9de9e5aff9926aba7c4def0c1053c44 /Misc/NEWS.d/next/C API/2023-09-06-00-14-49.gh-issue-85283.GKY0Cc.rst
parentaaf297c048694cd9652790f8b74e69f7ddadfbde (diff)
downloadcpython-bb057b337008626139d97269485b1dddf70ae427.zip
cpython-bb057b337008626139d97269485b1dddf70ae427.tar.gz
cpython-bb057b337008626139d97269485b1dddf70ae427.tar.bz2
gh-85283: Add PySys_AuditTuple() function (#108965)
sys.audit() now has assertions to check that the event argument is not NULL and that the format argument does not use the "N" format. Add tests on PySys_AuditTuple().
Diffstat (limited to 'Misc/NEWS.d/next/C API/2023-09-06-00-14-49.gh-issue-85283.GKY0Cc.rst')
-rw-r--r--Misc/NEWS.d/next/C API/2023-09-06-00-14-49.gh-issue-85283.GKY0Cc.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2023-09-06-00-14-49.gh-issue-85283.GKY0Cc.rst b/Misc/NEWS.d/next/C API/2023-09-06-00-14-49.gh-issue-85283.GKY0Cc.rst
new file mode 100644
index 0000000..811551c
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2023-09-06-00-14-49.gh-issue-85283.GKY0Cc.rst
@@ -0,0 +1,3 @@
+Add :c:func:`PySys_AuditTuple` function: similar to :c:func:`PySys_Audit`,
+but pass event arguments as a Python :class:`tuple` object. Patch by Victor
+Stinner.