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 graingert
Recipients docs@python, graingert, serhiy.storchaka, terry.reedy
Date 2020-08-22.10:01:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598090501.38.0.380610348581.issue41576@roundup.psfhosted.org>
In-reply-to
Content
The purpose of this tutorial section is to document how to catch all types of exceptions and extract the type and value. When this is required, `BaseException as err:` is the preferred approach.

This document still mentions the alternative approach so that readers will know what it means when they encounter it, and know to upgrade it to the py2.4+ syntax
History
Date User Action Args
2020-08-22 10:01:41graingertsetrecipients: + graingert, terry.reedy, docs@python, serhiy.storchaka
2020-08-22 10:01:41graingertsetmessageid: <1598090501.38.0.380610348581.issue41576@roundup.psfhosted.org>
2020-08-22 10:01:41graingertlinkissue41576 messages
2020-08-22 10:01:41graingertcreate