Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-91248: Add PyFrame_GetVar() function (#95712) | Victor Stinner | 2022-11-08 | 1 | -1/+2 |
| | | | | | | Add PyFrame_GetVar() and PyFrame_GetVarString() functions to get a frame variable by its name. Move PyFrameObject C API tests from test_capi to test_frame. | ||||
* | gh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938) | Victor Stinner | 2022-06-19 | 1 | -0/+17 |
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. |