Message202522
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. |
|
Date |
User |
Action |
Args |
2013-11-10 13:03:02 | ncoghlan | set | recipients:
+ ncoghlan, lemburg, barry, vstinner, ezio.melotti, flox |
2013-11-10 13:03:02 | ncoghlan | set | messageid: <1384088582.54.0.79854368528.issue17828@psf.upfronthosting.co.za> |
2013-11-10 13:03:02 | ncoghlan | link | issue17828 messages |
2013-11-10 13:03:02 | ncoghlan | create | |
|