]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-85283: Add PySys_AuditTuple() function (#108965)
authorVictor Stinner <vstinner@python.org>
Thu, 5 Oct 2023 21:59:35 +0000 (23:59 +0200)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2023 21:59:35 +0000 (21:59 +0000)
commitbb057b337008626139d97269485b1dddf70ae427
tree72f3c3f1a9de9e5aff9926aba7c4def0c1053c44
parentaaf297c048694cd9652790f8b74e69f7ddadfbde
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().
Doc/c-api/sys.rst
Doc/whatsnew/3.13.rst
Include/cpython/sysmodule.h
Lib/test/test_embed.py
Misc/NEWS.d/next/C API/2023-09-06-00-14-49.gh-issue-85283.GKY0Cc.rst [new file with mode: 0644]
Programs/_testembed.c
Python/sysmodule.c