From ce49aeade42e21d0a887b40a146e4b88c33aa9a8 Mon Sep 17 00:00:00 2001 From: parmeggiani Date: Wed, 22 May 2024 16:48:40 +0200 Subject: [PATCH] revert change in default build --- Python/structmember.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/structmember.c b/Python/structmember.c index d65a4bc1f754eb..c7624f86b9cc6b 100644 --- a/Python/structmember.c +++ b/Python/structmember.c @@ -78,7 +78,7 @@ PyMember_GetOne(const char *obj_addr, PyMemberDef *l) break; case Py_T_OBJECT_EX: #ifndef Py_GIL_DISABLED - v = FT_ATOMIC_LOAD_PTR(*addr); + v = *(PyObject **)addr; if (v == NULL) { PyObject *obj = (PyObject *)obj_addr; PyTypeObject *tp = Py_TYPE(obj);