]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-26558: Fix Py_FatalError() with GIL released (GH-10267)
authorVictor Stinner <vstinner@redhat.com>
Wed, 31 Oct 2018 23:26:41 +0000 (00:26 +0100)
committerGitHub <noreply@github.com>
Wed, 31 Oct 2018 23:26:41 +0000 (00:26 +0100)
commit3a228ab17c2a9cffd1a2f15f30d6209768de20a6
tree9f976a1179349145541c093cb792e4ee93beecb8
parent2be00d987d37682a55db67c298e82c405d01b868
bpo-26558: Fix Py_FatalError() with GIL released (GH-10267)

Don't call _Py_FatalError_PrintExc() nor flush_std_files() if the
current thread doesn't hold the GIL, or if the current thread
has no Python state thread.
Python/pylifecycle.c