[New-bugs-announce] [issue17191] pdb list shows unexpected code when stack frame includes a try / finally block
report at bugs.python.org
Tue Feb 12 11:47:37 CET 2013
New submission from Abram Clark:
The list command in pdb shows an unexpected portion of code after an up command enters a try / finally block in the call stack.
Expected behavior: Show 11 lines around line 8, "throw_something()", which was the entry point to the lower stack frame.
Actual behavior: Shows code centered around line 10, in the finally block, which is likely cleanup code that has nothing to do with the exception thrown.
title: pdb list shows unexpected code when stack frame includes a try / finally block
versions: Python 2.7
Added file: http://bugs.python.org/file29047/pdb_list_bug_reproduce.py
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce