Nick Coghlan added the comment: You're right, RuntimeError is a more suitable exception type.
So +1 for the second version of the patch that uses `__cause__` and the patch itself looks good to me. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28214> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com