gh-128759: Fix accesses to `tp_version_tag`. (GH-129750)
We should use a relaxed atomic load in the free threading build in `PyType_Modified()` because that's called without the type lock held. It's not necessary to use atomics in `type_modified_unlocked()`. We should also use `FT_ATOMIC_STORE_UINT_RELAXED()` instead of the `UINT32` variant because `tp_version_tag` is declared as `unsigned int`.
S
Sam Gross committed
57f45ee2d8ee23c2a1d1daba4095a5a044169419
Parent: 3cf68cd
Committed by GitHub <noreply@github.com>
on 2/12/2025, 2:34:40 PM