diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2024-10-09 17:32:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-09 17:32:16 (GMT) |
commit | f2cb39947093feda3ff85b8dc820922cc5e5f954 (patch) | |
tree | 671a66db1972ed61498f36239794bbb857bbfe92 /Lib/json/tool.py | |
parent | d501153aed6cd9c03b77836821ed8d47f0655a0b (diff) | |
download | cpython-f2cb39947093feda3ff85b8dc820922cc5e5f954.zip cpython-f2cb39947093feda3ff85b8dc820922cc5e5f954.tar.gz cpython-f2cb39947093feda3ff85b8dc820922cc5e5f954.tar.bz2 |
gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (gh-124865)
Fix a crash caused by immortal interned strings being shared between
sub-interpreters that use basic single-phase init. In that case, the string
can be used by an interpreter that outlives the interpreter that created and
interned it. For interpreters that share obmalloc state, also share the
interned dict with the main interpreter.
This is an un-revert of gh-124646 that then addresses the Py_TRACE_REFS
failures identified by gh-124785.
Diffstat (limited to 'Lib/json/tool.py')
0 files changed, 0 insertions, 0 deletions