summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-04 12:09:29 -0800
committerGitHub <noreply@github.com>2023-02-04 12:09:29 -0800
commitb134978467409eb1a7ed0d5ca4a656fab1927919 (patch)
treecc932a83031d32b32a59f3aebde004c7692a0731 /Python/modsupport.c
parentdbdbc796d264b8d63c89c2ca3ea9634bbaee2d2d (diff)
downloadcpython-git-b134978467409eb1a7ed0d5ca4a656fab1927919.tar.gz
[3.10] [3.11] gh-99952: fix refcount issues in ctypes.Structure from_param() result (GH-101339) (#101340)
[3.11] gh-99952: [ctypes] fix refcount issues in from_param() result. (GH-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.. (cherry picked from commit dfad678d7024ab86d265d84ed45999e031a03691) (cherry picked from commit fa7c37af4936abfe34aa261d6ed9703bc5842ad4) Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Yukihiro Nakadaira <yukihiro.nakadaira@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions