Author rhettinger
Recipients rhettinger, xdegaye
Date 2014-12-13.17:42:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418492578.0.0.0545374584001.issue23048@psf.upfronthosting.co.za>
In-reply-to
Content
Building on OS X 10.10 with the head of the code tree (as of today), I cannot reproduce this.  Also the disassembly looks fine:

$ python3.5 jump.py 
> /Users/raymond/tmp/jump.py(3)foo()
-> while 1:
(Pdb) next
> /Users/raymond/tmp/jump.py(4)foo()
-> pass
(Pdb) jump 5
> /Users/raymond/tmp/jump.py(5)foo()
-> return # this is line 5
(Pdb) list
  1  	def foo():
  2  	    import pdb; pdb.set_trace()
  3  	    while 1:
  4  	        pass
  5  ->	    return # this is line 5
  6  	
  7  	foo()
  8  	
[EOF]
(Pdb) !from dis import dis
(Pdb) !dis(foo)
  2           0 LOAD_CONST               1 (0)
              3 LOAD_CONST               0 (None)
              6 IMPORT_NAME              0 (pdb)
              9 STORE_FAST               0 (pdb)
             12 LOAD_FAST                0 (pdb)
             15 LOAD_ATTR                1 (set_trace)
             18 CALL_FUNCTION            0 (0 positional, 0 keyword pair)
             21 POP_TOP

  3          22 SETUP_LOOP               3 (to 28)

  4     >>   25 JUMP_ABSOLUTE           25

  5     >>   28 LOAD_CONST               0 (None)
             31 RETURN_VALUE
(Pdb) !import sys
(Pdb) p sys.version_info
sys.version_info(major=3, minor=5, micro=0, releaselevel='alpha', serial=0)
History
Date User Action Args
2014-12-13 17:42:58rhettingersetrecipients: + rhettinger, xdegaye
2014-12-13 17:42:58rhettingersetmessageid: <1418492578.0.0.0545374584001.issue23048@psf.upfronthosting.co.za>
2014-12-13 17:42:57rhettingerlinkissue23048 messages
2014-12-13 17:42:57rhettingercreate