]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[Bug #954364] inspect.getframeinfo() sometimes produces incorrect traceback line...
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 5 Jun 2004 14:11:59 +0000 (14:11 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 5 Jun 2004 14:11:59 +0000 (14:11 +0000)
commitba8b6bc86fcb00b37a53f8edd8f38c4b0e77f3a5
tree7e86e9f0ed052b5173e1c8d1e204fb4da599683d
parent39aef79821d9ad8d428b14b59190bd0ca0c550d9
[Bug #954364] inspect.getframeinfo() sometimes produces incorrect traceback line #s; fix is to look at tb.tb_lineno, not tb.frame.f_lineno.  Patch from Robin Becker and me.
Lib/inspect.py
Lib/test/test_inspect.py