gh-131238: Add explicit includes to pycore headers (#131257)

This commit is contained in:
Victor Stinner
2025-03-17 12:32:43 +01:00
committed by GitHub
parent 0453e494b6
commit 978e37bb5f
23 changed files with 80 additions and 45 deletions

View File

@@ -2,7 +2,12 @@
#include "pycore_ast.h" // stmt_ty
#include "pycore_parser.h" // _PyParser_ASTFromString()
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_runtime.h" // _Py_ID()
#include "pycore_symtable.h" // PySTEntryObject
#include "pycore_unicodeobject.h" // _PyUnicode_EqualToASCIIString()
#include <stddef.h> // offsetof()
// Set this to 1 to dump all symtables to stdout for debugging
#define _PY_DUMP_SYMTABLE 0