mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -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