[issue46225] f_lasti behaves differently for lambdas returned from loops

Ned Batchelder report at bugs.python.org
Sun Jan 2 08:54:56 EST 2022


Ned Batchelder <ned at nedbatchelder.com> added the comment:

Also, this only happens with a Python trace function.  With a C trace function, pPyFrameObject->f_frame->f_lasti is -1.

----------

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


More information about the Python-bugs-list mailing list