Skip to content

bpo-40421: Add pyframe.h header file#19755

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:pyframe
Apr 28, 2020
Merged

bpo-40421: Add pyframe.h header file#19755
vstinner merged 1 commit intopython:masterfrom
vstinner:pyframe

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Apr 28, 2020

Add a new separated pyframe.h header file of the PyFrame public C
API: it is included by Python.h.

Add PyFrame_GetLineNumber() to the limited C API.

Replace "struct _frame" with "PyFrameObject" in header files.
PyFrameObject is now defined as struct _frame by pyframe.h which is
included early enough in Python.h.

https://bugs.python.org/issue40421

Add a new separated pyframe.h header file of the PyFrame public C
API: it is included by Python.h.

Add PyFrame_GetLineNumber() to the limited C API.

Replace "struct _frame" with "PyFrameObject" in header files.
PyFrameObject is now defined as struct _frame by pyframe.h which is
included early enough in Python.h.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants