]> granicus.if.org Git - python/commit
Fix Py_FatalError() if called without the GIL
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 14 Mar 2016 15:53:12 +0000 (16:53 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 14 Mar 2016 15:53:12 +0000 (16:53 +0100)
commit791da1cc264574f8f3e44570d0fce293f755fdf3
tree6a9cc7d7e834039e74571cd77b33a4e30cfc784e
parent34be807ca4dfecc5b0a9e577a48535e738dce32b
Fix Py_FatalError() if called without the GIL

Issue #26558: If Py_FatalError() is called without the GIL, don't try to print
the current exception, nor try to flush stdout and stderr: only dump the
traceback of Python threads.
Python/pylifecycle.c