gh-113993: For string interning, do not rely on (or assert) _Py_IsImmortal (GH-121358)
Older stable ABI extensions are allowed to make immortal objects mortal. Instead, use `_PyUnicode_STATE` (`interned` and `statically_allocated`).
P
Petr Viktorin committed
956270d08d5c23f59937e2f29f8e0b7f63d68afd
Parent: a0b205b
Committed by GitHub <noreply@github.com>
on 7/16/2024, 1:17:29 PM