Skip to content

bpo-38631: Avoid Py_FatalError() in unicodeobject.c#18281

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:unicode_fatal_error
Jan 30, 2020
Merged

bpo-38631: Avoid Py_FatalError() in unicodeobject.c#18281
vstinner merged 1 commit intopython:masterfrom
vstinner:unicode_fatal_error

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jan 30, 2020

Replace Py_FatalError() calls with _PyErr_WriteUnraisableMsg() and
_PyObject_ASSERT_FAILED_MSG() in unicode_dealloc() and
unicode_release_interned().

https://bugs.python.org/issue38631

Replace Py_FatalError() calls with _PyErr_WriteUnraisableMsg() and
_PyObject_ASSERT_FAILED_MSG() in unicode_dealloc() and
unicode_release_interned().
@vstinner vstinner merged commit ec3c99c into python:master Jan 30, 2020
@vstinner vstinner deleted the unicode_fatal_error branch January 30, 2020 11:18
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
Replace Py_FatalError() calls with _PyErr_WriteUnraisableMsg(),
_PyObject_ASSERT_FAILED_MSG() or Py_UNREACHABLE()
in unicode_dealloc() and unicode_release_interned().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants