gh-131238: Add pycore_interpframe_structs.h header (#131553)

Add an explicit include to pycore_interpframe_structs.h in
pycore_runtime_structs.h to fix a dependency cycle.
This commit is contained in:
Victor Stinner 2025-03-21 18:19:47 +01:00 committed by GitHub
parent 1a082085ae
commit 61317074d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 99 additions and 81 deletions

View file

@ -3,13 +3,12 @@
#define _PY_INTERPRETER
#include "Python.h"
#include "pycore_genobject.h"
#include "pycore_call.h" // _PyObject_CallNoArgs()
#include "pycore_ceval.h" // _PyEval_EvalFrame()
#include "pycore_frame.h" // _PyInterpreterFrame
#include "pycore_freelist.h" // _Py_FREELIST_FREE(), _Py_FREELIST_POP()
#include "pycore_gc.h" // _PyGC_CLEAR_FINALIZED()
#include "pycore_genobject.h"
#include "pycore_modsupport.h" // _PyArg_CheckPositional()
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
#include "pycore_opcode_utils.h" // RESUME_AFTER_YIELD_FROM