diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-23 22:34:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-23 22:34:07 (GMT) |
commit | 90ed8a6d71b2d6e0853c14e8e6f85fe730a4329a (patch) | |
tree | d0142c2ad764ad5381218ecb462493f78872e137 /Tools | |
parent | f363d0a6e9cfa50677a6de203735fbc0d06c2f49 (diff) | |
download | cpython-90ed8a6d71b2d6e0853c14e8e6f85fe730a4329a.zip cpython-90ed8a6d71b2d6e0853c14e8e6f85fe730a4329a.tar.gz cpython-90ed8a6d71b2d6e0853c14e8e6f85fe730a4329a.tar.bz2 |
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().
Diffstat (limited to 'Tools')
0 files changed, 0 insertions, 0 deletions