Nick Coghlan <ncogh...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue23188>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to