Antoine Pitrou added the comment: Attached patch does the setting in PyErr_Display (which is an undocumented API, thus presumably private), and adds a test for atexit.
---------- Added file: http://bugs.python.org/file32095/atexit_tracebacks.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18776> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com