SIGN IN SIGN UP

bpo-40521: Optimize PyUnicode_New(0, maxchar) (GH-21099)

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().
V
Victor Stinner committed
90ed8a6d71b2d6e0853c14e8e6f85fe730a4329a
Parent: f363d0a
Committed by GitHub <noreply@github.com> on 6/23/2020, 10:34:07 PM