commit | 0e98a76b65161b74a23f64e05a8075b46d908d10 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Mar 24 11:24:06 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Mar 24 11:24:06 2015 +0100 |
tree | 0a997ce4fe390468530efbbc88c8d9dafd21346c | |
parent | 2e3998fae0996bbb349a4696071f0582f8c799c0 [diff] |
Issue #23571: Enhance Py_FatalError() * Display the current Python stack if an exception was raised but the exception has no traceback * Disable faulthandler if an exception was raised (before it was only disabled if no exception was raised) * To display the current Python stack, call PyGILState_GetThisThreadState() which works even if the GIL was released