[issue46356] [C API] Enforce usage of PyFrame_GetBack()

STINNER Victor report at bugs.python.org
Wed Jan 12 10:39:13 EST 2022


STINNER Victor <vstinner at python.org> added the comment:

It's unclear to me if the ability to read directly the PyFrameObject.f_lineno member is a deliberate use case, or if we should enforce the usage of PyFrame_GetLineNumber().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46356>
_______________________________________


More information about the Python-bugs-list mailing list