Xiang Zhang added the comment: It seems the thread state is initialized in thread_PyThread_start_new_thread. It calls _PyThreadState_Prealloc which initialize exc_type to NULL.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27558> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com