STINNER Victor <vstin...@python.org> added the comment:
See also bpo-40421 "[C API] Add getter functions for PyFrameObject and maybe move PyFrameObject to the internal C API". I added getter functions in recent Python versions: * PyFrame_GetBack(): Python 3.9 * PyFrame_GetCode(): Python 3.9 * PyFrame_GetLineNumber() added to the limited C API version 3.10 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46836> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com