Author xdegaye
Recipients xdegaye
Date 2013-02-24.17:26:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361726813.15.0.719765769531.issue17288@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2013-02-24 17:26:53xdegayesetrecipients: + xdegaye
2013-02-24 17:26:53xdegayesetmessageid: <1361726813.15.0.719765769531.issue17288@psf.upfronthosting.co.za>
2013-02-24 17:26:53xdegayelinkissue17288 messages
2013-02-24 17:26:53xdegayecreate