summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-22 13:49:37 (GMT)
committerGitHub <noreply@github.com>2023-07-22 13:49:37 (GMT)
commit89f987544860d1360e6232b6f52b8ced92a4d690 (patch)
tree907da00214a5c77ab33084321a66cc936798642f /Modules/pyexpat.c
parent756add081ead8fa9aeb11ac178e581ba2450f296 (diff)
downloadcpython-89f987544860d1360e6232b6f52b8ced92a4d690.zip
cpython-89f987544860d1360e6232b6f52b8ced92a4d690.tar.gz
cpython-89f987544860d1360e6232b6f52b8ced92a4d690.tar.bz2
gh-106320: Move private _PyHash API to the internal C API (#107026)
* No longer export most private _PyHash symbols, only export the ones which are needed by shared extensions. * Modules/_xxtestfuzz/fuzzer.c now uses the internal C API.
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index bd8a98a..33a56c5 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -4,6 +4,7 @@
#include "Python.h"
#include "pycore_import.h" // _PyImport_SetModule()
+#include "pycore_pyhash.h" // _Py_HashSecret
#include <ctype.h>
#include "structmember.h" // PyMemberDef