Documentation
From HOWTO about python free-threading:
As of the 3.14 release, immortalization is limited to:
- Code constants: numeric literals, string literals, and tuple literals composed of other constants.
- Strings interned by sys.intern().
From sys.intern():
Interned strings are not immortal; you must keep a reference to the return value of intern() around to benefit from it.
So, are the interned strings immortal or not?
Linked PRs