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 Niels Albers
Recipients Niels Albers, docs@python
Date 2019-08-20.07:21:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566285667.91.0.992762773609.issue37891@roundup.psfhosted.org>
In-reply-to
Content
raise <Exception> from <exception instance> has been in the language since python 3, yet the tutorial page teaching about exceptions does not mention it. (see https://docs.python.org/3.7/tutorial/errors.html#raising-exceptions)
It would be especially helpful to language newcomers to touch on the possibility of passing error context when raising a new exception in an exception handler.
History
Date User Action Args
2019-08-20 07:21:07Niels Alberssetrecipients: + Niels Albers, docs@python
2019-08-20 07:21:07Niels Alberssetmessageid: <1566285667.91.0.992762773609.issue37891@roundup.psfhosted.org>
2019-08-20 07:21:07Niels Alberslinkissue37891 messages
2019-08-20 07:21:07Niels Alberscreate