summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-01-06 07:53:44 (GMT)
committerGitHub <noreply@github.com>2022-01-06 07:53:44 (GMT)
commit35d6540c904ef07b8602ff014e520603f84b5886 (patch)
tree043aa48a925bf280fd2667aa3a3c62aa2e7fd5e6 /Misc/NEWS.d
parente5894ca8fd05e6a6df1033025b9093b68baa718d (diff)
downloadcpython-35d6540c904ef07b8602ff014e520603f84b5886.zip
cpython-35d6540c904ef07b8602ff014e520603f84b5886.tar.gz
cpython-35d6540c904ef07b8602ff014e520603f84b5886.tar.bz2
bpo-46006: Revert "bpo-40521: Per-interpreter interned strings (GH-20085)" (GH-30422)
This reverts commit ea251806b8dffff11b30d2182af1e589caf88acf. Keep "assert(interned == NULL);" in _PyUnicode_Fini(), but only for the main interpreter. Keep _PyUnicode_ClearInterned() changes avoiding the creation of a temporary Python list object.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-01-05-17-13-47.bpo-46006.hdH5Vn.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-05-17-13-47.bpo-46006.hdH5Vn.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-05-17-13-47.bpo-46006.hdH5Vn.rst
new file mode 100644
index 0000000..3acd2b0
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-01-05-17-13-47.bpo-46006.hdH5Vn.rst
@@ -0,0 +1,5 @@
+Fix a regression when a type method like ``__init__()`` is modified in a
+subinterpreter. Fix a regression in ``_PyUnicode_EqualToASCIIId()`` and type
+``update_slot()``. Revert the change which made the Unicode dictionary of
+interned strings compatible with subinterpreters: the internal interned
+dictionary is shared again by all interpreters. Patch by Victor Stinner.