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.
V
Victor Stinner committed
ea251806b8dffff11b30d2182af1e589caf88acf
Parent: 993e88c
Committed by GitHub <noreply@github.com>
on 12/26/2020, 1:58:33 AM