[issue23188] Provide a C helper function to chain raised (but not yet caught) exceptions

Nick Coghlan report at bugs.python.org
Wed May 23 09:06:40 EDT 2018


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Also see https://github.com/python/cpython/blob/55edd0c185ad2d895b5d73e47d67049bc156b654/Objects/exceptions.c#L2713 for the version we use in a few places to implicitly update the exception message, while keeping the exception type and state the same (and giving up and letting the exception through unchained if we can't work out how to do that in a reliable way).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue23188>
_______________________________________


More information about the Python-bugs-list mailing list