New submission from Xavier de Gaye:

With the following jump.py script:
def foo():
    import pdb; pdb.set_trace()
    while 1:
        pass
    return # this is line 5

foo()


The following debugging session aborts on Python 3.5.0a0 (default:334c01aa7f93, 
Dec  3 2014, 16:20:19):
$ python jump.py
> /tmp/test/jump.py(3)foo()
-> while 1:
(Pdb) next
> /tmp/test/jump.py(4)foo()
-> pass
(Pdb) jump 5
python: Objects/frameobject.c:258: frame_setlineno: Assertion `blockstack_top 
== 0' failed.
Aborted (core dumped)

----------
components: Interpreter Core
messages: 232604
nosy: xdegaye
priority: normal
severity: normal
status: open
title: abort when jumping out of a loop
type: crash
versions: Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23048>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to