Message182880
On python 3.3 and the default branch, the jump from a 'return' fails although
the change to f_lineno is validated, see below.
This problem does not occur with python 2.7.
$ python return.py
> /tmp/return.py(8)<module>()
-> foo()
(Pdb) break 5
Breakpoint 1 at /tmp/return.py:5
(Pdb) continue
> /tmp/return.py(5)foo()
-> lineno = 5
(Pdb) step
--Return--
> /tmp/return.py(5)foo()->None
-> lineno = 5
(Pdb) jump 4
> /tmp/return.py(4)foo()->None
-> lineno = 4
(Pdb) where
/tmp/return.py(8)<module>()
-> foo()
> /tmp/return.py(4)foo()->None
-> lineno = 4
(Pdb) step
--Return--
> /tmp/return.py(8)<module>()->None
-> foo()
(Pdb) |
|
Date |
User |
Action |
Args |
2013-02-24 17:26:53 | xdegaye | set | recipients:
+ xdegaye |
2013-02-24 17:26:53 | xdegaye | set | messageid: <1361726813.15.0.719765769531.issue17288@psf.upfronthosting.co.za> |
2013-02-24 17:26:53 | xdegaye | link | issue17288 messages |
2013-02-24 17:26:53 | xdegaye | create | |
|