Serhiy Storchaka added the comment: self.from_exception() works as well. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24710> _______________________________________