SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72137 0 42 Python

gh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938)

Move the follow functions and type from frameobject.h to pyframe.h,
so the standard <Python.h> provide frame getter functions:

* PyFrame_Check()
* PyFrame_GetBack()
* PyFrame_GetBuiltins()
* PyFrame_GetGenerator()
* PyFrame_GetGlobals()
* PyFrame_GetLasti()
* PyFrame_GetLocals()
* PyFrame_Type

Remove #include "frameobject.h" from many C files. It's no longer
needed.
V
Victor Stinner committed
27b989403356ccdd47545a93aeab8434e9c69f21
Parent: 2664d9a
Committed by GitHub <noreply@github.com> on 6/19/2022, 10:02:33 AM