Message182932
There is an error in my patch (already fixed in pdb-clone) and in Jyrki's patch.
Running Jyrki's patch on quit.py produces the following output where the line
number in the last entry of the backtrace is incorrect (should be line 9 instead
of line 7):
$ python quit.py
--Return--
> /tmp/quit.py(4)bar()->None
-> pdb.Pdb().set_trace()
(Pdb) quit
Traceback (most recent call last):
File "quit.py", line 11, in <module>
foo()
File "quit.py", line 7, in foo
bar()
ZeroDivisionError: integer division or modulo by zero
This problem does not occur when issue 17277 is fixed.
Meanwhile the attached patch, based on Jyrki's patch and based on the 2.7
branch, fixes this. |
|
Date |
User |
Action |
Args |
2013-02-25 12:07:22 | xdegaye | set | recipients:
+ xdegaye, giampaolo.rodola, asvetlov, nailor |
2013-02-25 12:07:22 | xdegaye | set | messageid: <1361794042.06.0.749176588524.issue16446@psf.upfronthosting.co.za> |
2013-02-25 12:07:22 | xdegaye | link | issue16446 messages |
2013-02-25 12:07:21 | xdegaye | create | |
|