ppperry <[email protected]> added the comment:
Unfortunately, there's a similar bug for `break` in a finally inside two nested
loops, so just re-banning `continue` won't fix the crash.
The code below segfaults:
```
def simple():
for number in range(2):
for number in range(2):
try:
return number
finally:
break
simple()
```
----------
nosy: +ppperry
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37830>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com