Josh Rosenberg added the comment: You used explicit control flow keywords and you're surprised that it listened?
Regardless, this is already documented https://docs.python.org/3/reference/compound_stmts.html#finally : "If the finally clause executes a return or break statement, the saved exception is discarded" ---------- nosy: +josh.r _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25832> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com