mirror of
https://github.com/python/cpython.git
synced 2026-05-10 06:31:43 -04:00
72c260cf0c
This reverts commitea251806b8. 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 commit35d6540c90)