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 Vladimir Ryabtsev
Recipients Vladimir Ryabtsev, docs@python, methane
Date 2020-11-05.18:27:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604600877.6.0.431429339464.issue42179@roundup.psfhosted.org>
In-reply-to
Content
> I can not find confusion caused by this tutorial section

Inada, have you read the very first message in this ticket? It explains why this wording may cause confusion (and it did in me), and describes the problem part. A link for your convenience: https://docs.python.org/3/tutorial/errors.html#exception-chaining

> Describing the default behavior and "from None" is enough for new users

Strange that you think that "from None" is more useful for beginners than these special attributes.

Without understanding of __cause__ and __context__, stack traceback message looks like magic. Say you want to handle an exception and retrieve its cause (context) in runtime (this is what exception chaining for) – this section makes no clues about how to do that.
History
Date User Action Args
2020-11-05 18:27:57Vladimir Ryabtsevsetrecipients: + Vladimir Ryabtsev, methane, docs@python
2020-11-05 18:27:57Vladimir Ryabtsevsetmessageid: <1604600877.6.0.431429339464.issue42179@roundup.psfhosted.org>
2020-11-05 18:27:57Vladimir Ryabtsevlinkissue42179 messages
2020-11-05 18:27:57Vladimir Ryabtsevcreate