SIGN IN SIGN UP

[3.13] gh-117657: Fix `__slots__` thread safety in free-threaded build (GH-119368) (#120655)

Fix a race in `PyMember_GetOne` and `PyMember_SetOne` for `Py_T_OBJECT_EX`.
These functions implement `__slots__` accesses for Python objects.
(cherry picked from commit 362cd2680b45a36c3467b9721ff7fc0ceb338452)

Co-authored-by: Daniele Parmeggiani <8658291+dpdani@users.noreply.github.com>
M
Miss Islington (bot) committed
396f8b0b98441344e1d3223a4075e5e342e0c2df
Parent: 0dbb86c
Committed by GitHub <noreply@github.com> on 6/17/2024, 7:12:25 PM