summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-06-24 00:22:21 (GMT)
committerGitHub <noreply@github.com>2020-06-24 00:22:21 (GMT)
commit2f9ada96e0d420fed0d09a032b37197f08ef167a (patch)
tree7b358df9980ee0e83c91d9e40626a5ccfd6d6a02 /Misc
parentbbf36e8903f8e86dcad8131c818e122537c30f9e (diff)
downloadcpython-2f9ada96e0d420fed0d09a032b37197f08ef167a.zip
cpython-2f9ada96e0d420fed0d09a032b37197f08ef167a.tar.gz
cpython-2f9ada96e0d420fed0d09a032b37197f08ef167a.tar.bz2
bpo-40521: Make Unicode latin1 singletons per interpreter (GH-21101)
Each interpreter now has its own Unicode latin1 singletons. Remove "ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS" and "ifdef LATIN1_SINGLETONS": always enable latin1 singletons. Optimize unicode_result_ready(): only attempt to get a latin1 singleton for PyUnicode_1BYTE_KIND.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst b/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst
index e970551..4322693 100644
--- a/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst
+++ b/Misc/NEWS.d/next/Core and Builtins/2020-05-20-01-17-34.bpo-40521.wvAehI.rst
@@ -3,7 +3,7 @@ Each interpreter now its has own free lists, singletons and caches:
* Free lists: float, tuple, list, dict, frame, context,
asynchronous generator, MemoryError.
* Singletons: empty tuple, empty bytes string, empty Unicode string,
- single byte character.
+ single byte character, single Unicode (latin1) character.
* Slice cache.
They are no longer shared by all interpreters.