This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients Yury.Selivanov, asvetlov, docs@python, eric.araujo, georg.brandl, mark.dickinson, python-dev, rhettinger
Date 2012-09-24.18:45:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348512323.02.0.95826218182.issue14167@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-09-24 18:45:23mark.dickinsonsetrecipients: + mark.dickinson, georg.brandl, rhettinger, eric.araujo, asvetlov, docs@python, Yury.Selivanov, python-dev
2012-09-24 18:45:23mark.dickinsonsetmessageid: <1348512323.02.0.95826218182.issue14167@psf.upfronthosting.co.za>
2012-09-24 18:45:22mark.dickinsonlinkissue14167 messages
2012-09-24 18:45:22mark.dickinsoncreate