ppperry <maprea...@olum.org> 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 <rep...@bugs.python.org> <https://bugs.python.org/issue37830> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com