gh-117657: Fix data races reported by TSAN in some set methods (#120914)
Refactor the fast Unicode hash check into `_PyObject_HashFast` and use relaxed atomic loads in the free-threaded build. After this change, the TSAN doesn't report data races for this method.
A
AN Long committed
294e72496439da984cb8dba9100d3613c8cc8a6d
Parent: 9bcb7d8
Committed by GitHub <noreply@github.com>
on 7/1/2024, 7:11:39 PM