[issue13548] line number when tracing an implicit return

Terry J. Reedy report at bugs.python.org
Mon Dec 6 17:12:04 EST 2021


Terry J. Reedy <tjreedy at udel.edu> added the comment:

This seems to be fixed.  On 3.11.0a2 installed on Windows and fresh build of .0a2+, I see return on line 11, which is correct.

f:\dev\3x>python ../tem/tem.py
Running Debug|x64 interpreter...
f:\dev\tem\tem.py 7 call
f:\dev\tem\tem.py 8 line
f:\dev\tem\tem.py 10 line
f:\dev\tem\tem.py 11 line
f:\dev\tem\tem.py 11 return

Irit, please confirm (or not) on your *nix system.

----------
nosy: +Mark.Shannon

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


More information about the Python-bugs-list mailing list