mirror of
https://github.com/python/cpython.git
synced 2025-10-24 10:23:58 +00:00
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 |
||
|---|---|---|
| .. | ||
| clinic | ||
| _ctypes.c | ||
| _ctypes_test.c | ||
| _ctypes_test.h | ||
| callbacks.c | ||
| callproc.c | ||
| cfield.c | ||
| ctypes.h | ||
| malloc_closure.c | ||
| stgdict.c | ||