Chris Jerdonek <[email protected]> added the comment:
FWIW, I found that the following hangs, but it also hangs on earlier versions
of Python:
import traceback
try:
raise RuntimeError
except Exception as exc:
print(f'handling: {exc!r}')
exc.__context__ = exc
print('printing traceback')
print(traceback.format_exc()) # hangs
Is this a separate bug? So maybe the issue is that the new code is letting
things get into this state. Some of my changes added new chaining in various
places, so that would fit (but still investigating).
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40696>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com