Issue #26563: Py_FatalError: disable faulthandler before trying to flush sys.stdout and sys.stderr.
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.