]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100227: Move the Dict of Interned Strings to PyInterpreterState (gh-102339)
authorEric Snow <ericsnowcurrently@gmail.com>
Tue, 28 Mar 2023 18:52:28 +0000 (12:52 -0600)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2023 18:52:28 +0000 (12:52 -0600)
commitba65a065cf07a7a9f53be61057a090f7311a5ad7
tree279e23bf7b8b1cfbf9a1a976a086ca129bbbe5cf
parent7703def37e4fa7d25c3d23756de8f527daa4e165
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.

https://github.com/python/cpython/issues/100227
Include/internal/pycore_global_objects.h
Include/internal/pycore_runtime.h
Include/internal/pycore_unicodeobject.h
Include/internal/pycore_unicodeobject_generated.h
Objects/unicodeobject.c
Tools/build/generate_global_objects.py