diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-24 11:24:06 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-24 11:24:06 +0100 |
commit | 10a64d840fd23928c788ca82149a21950a8ca025 (patch) | |
tree | 796f48d5f215164f107d6e1ee78dd3ca0a2310cd /Python/pylifecycle.c | |
parent | f8f1f77b572b34b660332d21d1264a24b6446c6f (diff) | |
download | cpython-10a64d840fd23928c788ca82149a21950a8ca025.tar.gz |
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
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions