summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_call.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-29 00:29:46 (GMT)
committerGitHub <noreply@github.com>2023-08-29 00:29:46 (GMT)
commit4fb96a11db5eaca3646bfa697d191469e567d283 (patch)
treecd639b62b56ae1077e8df660929c7a7b04e26a29 /Include/internal/pycore_call.h
parent88f1c5b454c34efc167a94b5e2d67ec042834e5b (diff)
downloadcpython-4fb96a11db5eaca3646bfa697d191469e567d283.zip
cpython-4fb96a11db5eaca3646bfa697d191469e567d283.tar.gz
cpython-4fb96a11db5eaca3646bfa697d191469e567d283.tar.bz2
gh-106320: Remove private _Py_Identifier API (#108593)
Remove the private _Py_Identifier type and related private functions from the public C API: * _PyObject_GetAttrId() * _PyObject_LookupSpecialId() * _PyObject_SetAttrId() * _PyType_LookupId() * _Py_IDENTIFIER() * _Py_static_string() * _Py_static_string_init() Move them to the internal C API: add a new pycore_identifier.h header file. No longer export these functions.
Diffstat (limited to 'Include/internal/pycore_call.h')
-rw-r--r--Include/internal/pycore_call.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_call.h b/Include/internal/pycore_call.h
index db71923..8846155 100644
--- a/Include/internal/pycore_call.h
+++ b/Include/internal/pycore_call.h
@@ -8,6 +8,7 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
+#include "pycore_identifier.h" // _Py_Identifier
#include "pycore_pystate.h" // _PyThreadState_GET()
/* Suggested size (number of positional arguments) for arrays of PyObject*