Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
Open
Description
Documentation
FromHOWTO 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 bysys.intern().
Fromsys.intern():
Interned strings are notimmortal; you must keep a reference to the return value ofintern() around to benefit from it.
So, are the interned strings immortal or not?
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Todo