]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38631: Avoid Py_FatalError() in unicodeobject.c (GH-18281)
authorVictor Stinner <vstinner@python.org>
Thu, 30 Jan 2020 11:18:32 +0000 (12:18 +0100)
committerGitHub <noreply@github.com>
Thu, 30 Jan 2020 11:18:32 +0000 (12:18 +0100)
commitec3c99c8a73650d7833189bd973ec492564aa479
treea1f02317982a7b5369a077cf82781872acc8b84e
parent38c878b56cff997de8fb04a586c963039b69b414
bpo-38631: Avoid Py_FatalError() in unicodeobject.c (GH-18281)

Replace Py_FatalError() calls with _PyErr_WriteUnraisableMsg(),
_PyObject_ASSERT_FAILED_MSG() or Py_UNREACHABLE()
in unicode_dealloc() and unicode_release_interned().
Objects/unicodeobject.c