commit | 2f9ada96e0d420fed0d09a032b37197f08ef167a | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Jun 24 02:22:21 2020 +0200 |
committer | GitHub <noreply@github.com> | Wed Jun 24 02:22:21 2020 +0200 |
tree | 7b358df9980ee0e83c91d9e40626a5ccfd6d6a02 | |
parent | bbf36e8903f8e86dcad8131c818e122537c30f9e [diff] |
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.