[issue46356] [C API] Enforce usage of PyFrame_GetBack()
Mark Shannon
report at bugs.python.org
Wed Jan 12 11:14:55 EST 2022
Mark Shannon <mark at hotpy.org> added the comment:
f_lineno is not part of the API. No field in PyFrameObject is.
I don't know how we can stop people from using them though.
If they don't know better than pulling data out of undocumented internal struct, then I'm not sure an underscore prefix is going to help.
It won't do any harm, though.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46356>
_______________________________________
More information about the Python-bugs-list
mailing list