Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 23, 2020

Functions of unicodeobject.c, like PyUnicode_New(), no longer check
if the empty Unicode singleton has been initialized or not. Consider
that it is always initialized. The Unicode API must not be used
before _PyUnicode_Init() or after _PyUnicode_Fini().

https://bugs.python.org/issue40521

Functions of unicodeobject.c, like PyUnicode_New(), no longer check
if the empty Unicode singleton has been initialized or not. Consider
that it is always initialized. The Unicode API must not be used
before _PyUnicode_Init() or after _PyUnicode_Fini().
@vstinner vstinner merged commit 90ed8a6 into python:master Jun 23, 2020
@vstinner vstinner deleted the unicode_empty2 branch June 23, 2020 22:34
fasih pushed a commit to fasih/cpython that referenced this pull request Jun 29, 2020
Functions of unicodeobject.c, like PyUnicode_New(), no longer check
if the empty Unicode singleton has been initialized or not. Consider
that it is always initialized. The Unicode API must not be used
before _PyUnicode_Init() or after _PyUnicode_Fini().
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