diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-24 00:22:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 00:22:21 (GMT) |
commit | 2f9ada96e0d420fed0d09a032b37197f08ef167a (patch) | |
tree | 7b358df9980ee0e83c91d9e40626a5ccfd6d6a02 /Misc | |
parent | bbf36e8903f8e86dcad8131c818e122537c30f9e (diff) | |
download | cpython-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.rst | 2 |
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. |