Author Vladimir Ryabtsev
Recipients Vladimir Ryabtsev, docs@python
Date 2020-10-28.08:31:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
A new section has been added to the page as a result of The change:

The wording it uses (in the beginning of section 8.5), defines chaining as setting __cause__ attribute in an exception, and later states that "Exception chaining happens automatically when an exception is raised inside an exception handler or finally section". This may lead the reader to a wrong idea that re-raising an exception without "from" in "except" and "finally" automatically sets __cause__. In reality it sets only __context__ attribute, which is similar concept to __cause__, but work a bit differently, as explained in library/exceptions.rst. I suggest to mention that difference and provide a link to the main article.
Date User Action Args
2020-10-28 08:31:31Vladimir Ryabtsevsetrecipients: + Vladimir Ryabtsev, docs@python
2020-10-28 08:31:31Vladimir Ryabtsevsetmessageid: <>
2020-10-28 08:31:31Vladimir Ryabtsevlinkissue42179 messages
2020-10-28 08:31:31Vladimir Ryabtsevcreate