mirror of
https://github.com/python/cpython.git
synced 2026-06-27 05:16:16 -04:00
4629c2215a
Avoid racing with the owning thread's refcount operations when immortalizing an interned string: if we don't own it and its refcount isn't merged, intern a copy we own instead. Use atomic stores in _Py_SetImmortalUntracked so concurrent atomic reads are race-free.
Source files for various builtin objects