SF Bug 767794
"Break or continue outside loop causes crash"
This commit is contained in:
parent
bd2de3a65b
commit
bea57c6c35
|
@ -605,6 +605,8 @@ class ModifiedInterpreter(InteractiveInterpreter):
|
|||
if ok:
|
||||
try:
|
||||
msg, (dummy_filename, lineno, offset, line) = value
|
||||
if not offset:
|
||||
offset = 0
|
||||
except:
|
||||
ok = 0
|
||||
if ok:
|
||||
|
|
Loading…
Reference in New Issue