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 ncoghlan
Recipients barry, ezio.melotti, flox, lemburg, ncoghlan, vstinner
Date 2013-11-10.13:02:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384088582.54.0.79854368528.issue17828@psf.upfronthosting.co.za>
In-reply-to
Content
Updated patch (v5) with a more robust chaining mechanism provided as a private "_PyErr_TrySetFromCause" API. This version eliminates the previous whitelist in favour of checking directly for the ability to replace the exception with another instance of the same type without losing information.

This version also has more direct tests of the exception wrapping behaviour as a dedicated test class.

If I don't hear any objections in the next couple of days, I plan to commit this version.
History
Date User Action Args
2013-11-10 13:03:02ncoghlansetrecipients: + ncoghlan, lemburg, barry, vstinner, ezio.melotti, flox
2013-11-10 13:03:02ncoghlansetmessageid: <1384088582.54.0.79854368528.issue17828@psf.upfronthosting.co.za>
2013-11-10 13:03:02ncoghlanlinkissue17828 messages
2013-11-10 13:03:02ncoghlancreate