cpython/Modules/_ctypes
Yukihiro Nakadaira dfad678d70
gh-99952: [ctypes] fix refcount issues in from_param() result. (#100169)
Fixes a reference counting issue with `ctypes.Structure` when a `from_param()` method call is used and the structure size is larger than a C pointer `sizeof(void*)`.

This problem existed for a very long time, but became more apparent in 3.8+ by change likely due to garbage collection cleanup timing changes.
2023-01-26 00:28:34 -08:00
..
_ctypes.c gh-99952: [ctypes] fix refcount issues in from_param() result. (#100169) 2023-01-26 00:28:34 -08:00
_ctypes_test.c gh-99952: [ctypes] fix refcount issues in from_param() result. (#100169) 2023-01-26 00:28:34 -08:00
_ctypes_test.h
callbacks.c GH-81061: Fix refcount issue when returning None from a ctypes.py_object callback (#13364) 2023-01-09 15:43:04 +05:30
callproc.c Fix ctypes typo in set_exception (#101040) 2023-01-15 20:42:37 +05:30
cfield.c gh-78878: Fix crash when creating an instance of _ctypes.CField (#14837) 2022-12-21 23:01:17 +05:30
ctypes.h gh-99337: Fix compile errors with gcc 12 on macOS (#99470) 2022-11-21 10:50:20 +01:00
malloc_closure.c gh-99337: Fix compile errors with gcc 12 on macOS (#99470) 2022-11-21 10:50:20 +01:00
stgdict.c gh-78878: Fix crash when creating an instance of _ctypes.CField (#14837) 2022-12-21 23:01:17 +05:30