diff options
author | Yukihiro Nakadaira <yukihiro.nakadaira@gmail.com> | 2023-01-26 08:28:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-26 08:28:34 (GMT) |
commit | dfad678d7024ab86d265d84ed45999e031a03691 (patch) | |
tree | eb749dbc9392eb494a8b36faba1cb13ae563ae20 /Lib/test/support | |
parent | f5ad63f79af3a5876f90b409d0c8402fa54e878a (diff) | |
download | cpython-dfad678d7024ab86d265d84ed45999e031a03691.zip cpython-dfad678d7024ab86d265d84ed45999e031a03691.tar.gz cpython-dfad678d7024ab86d265d84ed45999e031a03691.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/support')
0 files changed, 0 insertions, 0 deletions