mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
gh-131238: Add explicit includes to pycore headers (#131257)
This commit is contained in:
parent
0453e494b6
commit
978e37bb5f
23 changed files with 80 additions and 45 deletions
|
@ -11,11 +11,12 @@ Copyright (c) Corporation for National Research Initiatives.
|
|||
#include "Python.h"
|
||||
#include "pycore_call.h" // _PyObject_CallNoArgs()
|
||||
#include "pycore_interp.h" // PyInterpreterState.codec_search_path
|
||||
#include "pycore_lock.h" // PyMutex
|
||||
#include "pycore_pyerrors.h" // _PyErr_FormatNote()
|
||||
#include "pycore_pystate.h" // _PyInterpreterState_GET()
|
||||
#include "pycore_runtime.h" // _Py_ID()
|
||||
#include "pycore_ucnhash.h" // _PyUnicode_Name_CAPI
|
||||
|
||||
|
||||
static const char *codecs_builtin_error_handlers[] = {
|
||||
"strict", "ignore", "replace",
|
||||
"xmlcharrefreplace", "backslashreplace", "namereplace",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue