Irit Katriel <iritkatr...@gmail.com> added the comment:

In other words, I don't see why it's an improvement to replace

    exception = sys.exc_info()

by 

    exception = type(exc), exc, exc.__traceback__

when sys.exc_info() does exactly what your inlined version does.

----------

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

Reply via email to