]> granicus.if.org Git - python/commit
(Merge 3.4) Issue #23571: Enhance Py_FatalError()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 24 Mar 2015 11:01:30 +0000 (12:01 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 24 Mar 2015 11:01:30 +0000 (12:01 +0100)
commit10dc48497e9c79d253bd0861b5f41843a114f146
tree56b95bf12c90f9d542bd26935b45812f06b061b1
parent0f05cea05773d0810db6219cd1430d8c46d29a3b
parent0e98a76b65161b74a23f64e05a8075b46d908d10
(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
Python/pylifecycle.c