[issue17191] pdb list shows unexpected code when stack frame includes a try / finally block

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue17191] pdb list shows unexpected code when stack frame includes a try / finally block

2013-02-17 Thread Xavier de Gaye
Xavier de Gaye added the comment: This is fixed in python 3.2 by changeset 670d4cbf1464, and indeed the '>>' marker is shown at line 8 of pdb_list_bug_reproduce.py when debugging this (modified for py3) script with python 3.2. -- nosy: +xdegaye ___ Py

[issue17191] pdb list shows unexpected code when stack frame includes a try / finally block

2013-02-12 Thread Abram Clark
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. To reproduce: pdb pdb_list_bug_reproduce.py c up list Expected behavior: Show 11 lines around line 8, "throw_something()", which was