Serhiy Storchaka added the comment:

We can use from_exception() in __init__ because in both cases first three 
arguments of TracebackException() are type(e), e, e.__traceback__. Without this 
change changing from_exception() makes less sense.

Here is a patch.

----------
Added file: http://bugs.python.org/file40020/classmethod_2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24710>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to