diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-24 10:24:06 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-24 10:24:06 (GMT) |
| commit | 0e98a76b65161b74a23f64e05a8075b46d908d10 (patch) | |
| tree | 0a997ce4fe390468530efbbc88c8d9dafd21346c /Lib/test | |
| parent | 2e3998fae0996bbb349a4696071f0582f8c799c0 (diff) | |
| download | cpython-0e98a76b65161b74a23f64e05a8075b46d908d10.zip cpython-0e98a76b65161b74a23f64e05a8075b46d908d10.tar.gz cpython-0e98a76b65161b74a23f64e05a8075b46d908d10.tar.bz2 | |
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 'Lib/test')
0 files changed, 0 insertions, 0 deletions
