[issue45563] inspect.getframeinfo() doesn't handle frames without lineno
Mark Shannon
report at bugs.python.org
Tue Mar 22 06:52:45 EDT 2022
Mark Shannon <mark at hotpy.org> added the comment:
You are on own if you create code objects by calling `types.CodeType`.
The docs could be a lot clearer about that, though.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45563>
_______________________________________
More information about the Python-bugs-list
mailing list