mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
bpo-40268: Include explicitly pycore_interp.h (GH-19505)
pycore_pystate.h no longer includes pycore_interp.h: it's now included explicitly in files accessing PyInterpreterState.
This commit is contained in:
parent
8ef875028a
commit
4a3fe08353
19 changed files with 31 additions and 13 deletions
|
@ -5,7 +5,8 @@
|
|||
#include "opcode.h"
|
||||
#include "structmember.h"
|
||||
#include "pycore_code.h"
|
||||
#include "pycore_pystate.h"
|
||||
#include "pycore_interp.h" // PyInterpreterState.co_extra_freefuncs
|
||||
#include "pycore_pystate.h" // _PyInterpreterState_GET_UNSAFE()
|
||||
#include "pycore_tupleobject.h"
|
||||
#include "clinic/codeobject.c.h"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "pycore_abstract.h" // _PyIndex_Check()
|
||||
#include "pycore_interp.h" // _PyInterpreterState_LookUpID()
|
||||
#include "pycore_pystate.h"
|
||||
#include "interpreteridobject.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
/* XXX The functional organization of this file is terrible */
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_pystate.h" /* _Py_IsMainInterpreter() */
|
||||
#include "pycore_interp.h" // _PY_NSMALLPOSINTS
|
||||
#include "pycore_pystate.h" // _Py_IsMainInterpreter()
|
||||
#include "longintrepr.h"
|
||||
|
||||
#include <float.h>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
/* Module object implementation */
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_interp.h" // PyInterpreterState.importlib
|
||||
#include "pycore_pystate.h"
|
||||
#include "structmember.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue