[issue37987] retrun collection item in for cycle with finally continue

2019-08-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report, but this has been fixed in issue37830. Try 3.8.0b4! -- resolution: -> out of date stage: -> resolved status: open -> closed superseder: -> continue and break in finally with return in try results with segfault

[issue37987] retrun collection item in for cycle with finally continue

2019-08-30 Thread Иван Косматых
New submission from Иван Косматых : https://bugs.python.org/issue32489 This closed issue allow continue in finally clasue but now it can lead to crash in below case. def crash(): for i in [1, 2, 3]: try: return i finally: continue crash() I try use