Eric Snow <ericsnowcurren...@gmail.com> added the comment:

FWIW, here's an alternative we should *not* pursue:  return just the exception 
from sys.exc_info().  For compatibility, we would implement `__iter__` and 
`__getitem__` on BaseException, to duplicate the behavior of the current tuple. 
 There are a number of good reasons why this is *not* what we should do.

----------

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

Reply via email to