Irit Katriel <[email protected]> added the comment:
You don't need sys.exc_info() for the traceback anymore.
except Exception as e:
raise OSError('blah').with_traceback(e.__traceback__)
----------
nosy: +iritkatriel
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue47099>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com