[issue23188] Exception chaining should trigger for non-normalised exceptions
Nick Coghlan
report at bugs.python.org
Thu Jan 8 09:40:54 CET 2015
Nick Coghlan added the comment:
Thinking about it a bit further, I suspect implicit normalisation of chained exceptions could cause problems when we only want to set __cause__ without setting __context__ (e.g. codec exception chaining).
I'm going to ponder this one for a while, but happy to hear anyone else's feedback.
At the very least, I think the C API docs could use a bit more clarity on the intricacies of C level exception chaining.
----------
assignee: -> ncoghlan
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23188>
_______________________________________
More information about the Python-bugs-list
mailing list