SIGN IN SIGN UP

gh-132070: Fix PyObject_Realloc thread-safety in free threaded Python (gh-143441)

The PyObject header reference count fields must be initialized using
atomic operations because they may be concurrently read by another
thread (e.g., from `_Py_TryIncref`).
S
Sam Gross committed
98e55d70bcb7f02c6f98f90739e217049d6a1db7
Parent: df35534
Committed by GitHub <noreply@github.com> on 1/6/2026, 8:55:37 PM