cpython/Modules/_ctypes
Dino Viehland 5a1618a2c8
gh-118362: Fix thread safety around lookups from the type cache in the face of concurrent mutators (#118454)
Add _PyType_LookupRef and use incref before setting attribute on type
Makes setting an attribute on a class and signaling type modified atomic
Avoid adding re-entrancy exposing the type cache in an inconsistent state by decrefing after type is updated
2024-05-06 10:50:35 -07:00
..
clinic
_ctypes.c
_ctypes_test.c
_ctypes_test.h
callbacks.c
callproc.c
cfield.c
ctypes.h
malloc_closure.c
stgdict.c