]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42923: Py_FatalError() avoids fprintf() (GH-24242)
authorVictor Stinner <vstinner@python.org>
Mon, 18 Jan 2021 17:34:56 +0000 (18:34 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Jan 2021 17:34:56 +0000 (18:34 +0100)
commit314b8787e0c50985ba708034b84ff5b37a1d47de
tree12941638dbc2d4ad82496a56491b1c3504a79f41
parente232025025c8bd07c1d1b12a583a80c4a673f077
bpo-42923: Py_FatalError() avoids fprintf() (GH-24242)

* Replace buffered fprintf() with unbuffered _Py_write_noraise()
  in Py_FatalError().
* _Py_DumpHexadecimal() now accepts uintptr_t.
Include/internal/pycore_traceback.h
Python/pylifecycle.c
Python/traceback.c