[issue16028] break in finally discards exception
Erik Allik
report at bugs.python.org
Mon Sep 24 20:55:29 CEST 2012
Erik Allik added the comment:
It looks to me that it was not removed from the doc but explicitly changed to say that 'break' does not cause the exception to be discarded, unless I'm misunderstanding it:
1.20 +:keyword:`finally` clause is executed. If there is a saved exception
1.21 +or :keyword:`break` statement, it is re-raised at the end of the
1.22 +:keyword:`finally` clause. If the :keyword:`finally` clause raises
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16028>
_______________________________________
More information about the Python-bugs-list
mailing list