]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40521: Make empty Unicode string per interpreter (GH-21096)
authorVictor Stinner <vstinner@python.org>
Tue, 23 Jun 2020 22:10:40 +0000 (00:10 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2020 22:10:40 +0000 (00:10 +0200)
commitf363d0a6e9cfa50677a6de203735fbc0d06c2f49
tree9092c9d82a215dcfce789e4ad81ac2b4e8be2fed
parentd051801052211b533c46a593b1c1bccf649a171c
bpo-40521: Make empty Unicode string per interpreter (GH-21096)

Each interpreter now has its own empty Unicode string singleton.
12 files changed:
Include/internal/pycore_interp.h
Include/internal/pycore_pylifecycle.h
Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst
Objects/stringlib/asciilib.h
Objects/stringlib/partition.h
Objects/stringlib/stringdefs.h
Objects/stringlib/ucs1lib.h
Objects/stringlib/ucs2lib.h
Objects/stringlib/ucs4lib.h
Objects/stringlib/unicodedefs.h
Objects/unicodeobject.c
Python/pylifecycle.c