summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-01-06 15:12:28 (GMT)
committerGitHub <noreply@github.com>2022-01-06 15:12:28 (GMT)
commit72c260cf0c71eb01eb13100b751e9d5007d00b70 (patch)
tree7aa9f23f175630b1b53ef57ae3a7896d886fa8b4 /Python/Python-ast.c
parent861a9aaf0f517623c58ca4eb5588804b2632fcba (diff)
downloadcpython-72c260cf0c71eb01eb13100b751e9d5007d00b70.zip
cpython-72c260cf0c71eb01eb13100b751e9d5007d00b70.tar.gz
cpython-72c260cf0c71eb01eb13100b751e9d5007d00b70.tar.bz2
[3.10] bpo-46006: Revert "bpo-40521: Per-interpreter interned strings (GH-20085)" (GH-30422) (GH-30425)
This reverts commit ea251806b8dffff11b30d2182af1e589caf88acf. Keep "assert(interned == NULL);" in _PyUnicode_Fini(), but only for the main interpreter. Keep _PyUnicode_ClearInterned() changes avoiding the creation of a temporary Python list object. Leave the PyInterpreterState structure unchanged to keep the ABI backward compatibility with Python 3.10.0: rename the "interned" member to "unused_interned". (cherry picked from commit 35d6540c904ef07b8602ff014e520603f84b5886)
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions