gh-130931: Add pycore_interpframe.h internal header (#131249)

Move _PyInterpreterFrame and associated functions
to a new pycore_interpframe.h header.
This commit is contained in:
Victor Stinner 2025-03-19 18:17:44 +01:00 committed by GitHub
parent 6146295a5b
commit 5c44d7d99c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 396 additions and 379 deletions

View file

@ -1,5 +1,6 @@
#include "Python.h"
#include "pycore_critical_section.h" // Py_BEGIN_CRITICAL_SECTION_MUT()
#include "pycore_frame.h" // PyFrameObject members
#include "pycore_interp.h" // PyInterpreterState.warnings
#include "pycore_long.h" // _PyLong_GetZero()
#include "pycore_pyerrors.h" // _PyErr_Occurred()