commit | 7c59d7c9860cdbaf4a9c26c9142aebd3259d046e | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Apr 28 16:32:48 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue Apr 28 16:32:48 2020 +0200 |
tree | 25d14f4febac1b124878b5875a936b47c6706771 | |
parent | 5da352616fb8290e3c2c0245f553280824093c6a [diff] |
bpo-40421: Add pyframe.h header file (GH-19755) 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.