diff options
author | 2020-12-26 02:58:33 +0100 | |
---|---|---|
committer | 2020-12-26 02:58:33 +0100 | |
commit | ea251806b8dffff11b30d2182af1e589caf88acf (patch) | |
tree | 10d413170c8e71dd19079b3d22eea4ebd5ddf7a5 /Misc/NEWS.d/next/Core and Builtins | |
parent | bpo-42694: Prevent creating _curses_panel.panel (GH-23948) (diff) | |
download | cpython-ea251806b8dffff11b30d2182af1e589caf88acf.tar.gz cpython-ea251806b8dffff11b30d2182af1e589caf88acf.tar.bz2 cpython-ea251806b8dffff11b30d2182af1e589caf88acf.zip |
bpo-40521: Per-interpreter interned strings (GH-20085)
Make the Unicode dictionary of interned strings compatible with
subinterpreters.
Remove the INTERN_NAME_STRINGS macro in typeobject.c: names are
always now interned (even if EXPERIMENTAL_ISOLATED_SUBINTERPRETERS
macro is defined).
_PyUnicode_ClearInterned() now uses PyDict_Next() to no longer
allocate memory, to ensure that the interned dictionary is cleared.
Diffstat (limited to 'Misc/NEWS.d/next/Core and Builtins')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2020-05-14-02-55-39.bpo-40521.dIlXsZ.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-05-14-02-55-39.bpo-40521.dIlXsZ.rst b/Misc/NEWS.d/next/Core and Builtins/2020-05-14-02-55-39.bpo-40521.dIlXsZ.rst new file mode 100644 index 00000000000..654757a5f90 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2020-05-14-02-55-39.bpo-40521.dIlXsZ.rst @@ -0,0 +1,2 @@ +Make the Unicode dictionary of interned strings compatible with +subinterpreters. Patch by Victor Stinner. |