Message171170
I think something went wrong with this doc change. The docs used to say:
"""
If the :keyword:`finally` clause raises another exception or executes a :keyword:`return` or :keyword:`break` statement, the saved exception is lost.
"""
Now we have:
"""
If there is a saved exception or :keyword:`break` statement, it is re-raised at the end of the :keyword:`finally` clause.
"""
which doesn't make much sense (what does 'it' refer to in the case of a 'break' statement), and we seem to have lost the explicit statement that a 'break' in a finally cause swallows exceptions. |
|
Date |
User |
Action |
Args |
2012-09-24 18:45:23 | mark.dickinson | set | recipients:
+ mark.dickinson, georg.brandl, rhettinger, eric.araujo, asvetlov, docs@python, Yury.Selivanov, python-dev |
2012-09-24 18:45:23 | mark.dickinson | set | messageid: <1348512323.02.0.95826218182.issue14167@psf.upfronthosting.co.za> |
2012-09-24 18:45:22 | mark.dickinson | link | issue14167 messages |
2012-09-24 18:45:22 | mark.dickinson | create | |
|