gh-100227: Move the Dict of Interned Strings to PyInterpreterState (g… · python/cpython@ba65a06 · GitHub
Skip to content

Commit ba65a06

Browse files
gh-100227: Move the Dict of Interned Strings to PyInterpreterState (gh-102339)
We can revisit the options for keeping it global later, if desired. For now the approach seems quite complex, so we've gone with the simpler isolation solution in the meantime. #100227
1 parent 7703def commit ba65a06

6 files changed

Lines changed: 727 additions & 718 deletions

File tree

Include/internal/pycore_global_objects.h

Lines changed: 2 additions & 7 deletions

Include/internal/pycore_runtime.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ typedef struct pyruntimestate {
163163
} types;
164164

165165
/* All the objects that are shared by the runtime's interpreters. */
166-
struct _Py_cached_objects cached_objects;
167166
struct _Py_static_objects static_objects;
168167

169168
/* The following fields are here to avoid allocation during init.

Include/internal/pycore_unicodeobject.h

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)