diff options
author | Victor Stinner <vstinner@python.org> | 2025-03-17 11:32:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-17 11:32:43 (GMT) |
commit | 978e37bb5f979cccce36613637ac2d94b43c71b2 (patch) | |
tree | 52f7eb072bacae81a0ab7a20f8875f5c01861124 /Python/errors.c | |
parent | 0453e494b6e23c876c1bb097966f2c68ec72fada (diff) | |
download | cpython-978e37bb5f979cccce36613637ac2d94b43c71b2.zip cpython-978e37bb5f979cccce36613637ac2d94b43c71b2.tar.gz cpython-978e37bb5f979cccce36613637ac2d94b43c71b2.tar.bz2 |
gh-131238: Add explicit includes to pycore headers (#131257)
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/errors.c b/Python/errors.c index bf48c10..d2f3312 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -7,9 +7,11 @@ #include "pycore_initconfig.h" // _PyStatus_ERR() #include "pycore_pyerrors.h" // _PyErr_Format() #include "pycore_pystate.h" // _PyThreadState_GET() +#include "pycore_runtime.h" // _Py_ID() #include "pycore_structseq.h" // _PyStructSequence_FiniBuiltin() #include "pycore_sysmodule.h" // _PySys_GetOptionalAttr() #include "pycore_traceback.h" // _PyTraceBack_FromFrame() +#include "pycore_unicodeobject.h" // _PyUnicode_Equal() #ifdef MS_WINDOWS # include <windows.h> @@ -17,6 +19,7 @@ # include <stdlib.h> // _sys_nerr #endif + /* Forward declarations */ static PyObject * _PyErr_FormatV(PyThreadState *tstate, PyObject *exception, |