diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-24 12:01:30 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-24 12:01:30 +0100 |
commit | 10dc48497e9c79d253bd0861b5f41843a114f146 (patch) | |
tree | 56b95bf12c90f9d542bd26935b45812f06b061b1 /Modules/getpath.c | |
parent | 0f05cea05773d0810db6219cd1430d8c46d29a3b (diff) | |
parent | 0e98a76b65161b74a23f64e05a8075b46d908d10 (diff) | |
download | cpython-git-10dc48497e9c79d253bd0861b5f41843a114f146.tar.gz |
(Merge 3.4) 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 'Modules/getpath.c')
0 files changed, 0 insertions, 0 deletions