]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100227: Revert gh-102925 "gh-100227: Make the Global Interned Dict Safe for Isolat...
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 27 Mar 2023 22:53:05 +0000 (16:53 -0600)
committerGitHub <noreply@github.com>
Mon, 27 Mar 2023 22:53:05 +0000 (16:53 -0600)
commit89e67ada6958cfd8d4eec221848f81b2619de099
treeaa6218f3ce5294b879837ef8b1e53740f03ff9ae
parent34eb6f727632d9a1a6998f90c9421e420c785643
gh-100227: Revert gh-102925 "gh-100227: Make the Global Interned Dict Safe for Isolated Interpreters" (gh-103063)

This reverts commit 87be8d9.

This approach to keeping the interned strings safe is turning out to be too complex for my taste (due to obmalloc isolation). For now I'm going with the simpler solution, making the dict per-interpreter. We can revisit that later if we want a sharing solution.
Include/internal/pycore_global_objects.h
Include/internal/pycore_pystate.h
Include/internal/pycore_runtime_init.h
Include/internal/pycore_unicodeobject.h
Objects/unicodeobject.c
Python/pylifecycle.c
Python/pystate.c