Staging
v0.5.1
https://github.com/python/cpython
Revision e9dafe7c93d67fe4df6e0e23088f8f25c90f2bed authored by Ned Deily on 25 June 2020, 09:23:30 UTC, committed by GitHub on 25 June 2020, 09:23:30 UTC
- fix installer builds when using latest versions of Python 3
- fix installer builds on newer macOS releases with SIP
- Python Launcher app factory defaults now use python3
1 parent 0ef6a3f
Raw File
Tip revision: e9dafe7c93d67fe4df6e0e23088f8f25c90f2bed authored by Ned Deily on 25 June 2020, 09:23:30 UTC
Forward port macOS installer updates from 3.7/3.8 (GH-21132) (GH-21135)
Tip revision: e9dafe7
pyframe.h
/* Limited C API of PyFrame API
 *
 * Include "frameobject.h" to get the PyFrameObject structure.
 */

#ifndef Py_PYFRAME_H
#define Py_PYFRAME_H
#ifdef __cplusplus
extern "C" {
#endif

typedef struct _frame PyFrameObject;

/* Return the line of code the frame is currently executing. */
PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);

PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame);

#ifdef __cplusplus
}
#endif
#endif /* !Py_PYFRAME_H */
back to top