]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-46376: Return existing pointer when possible in ctypes (GH-107131) (#107488)
authorŁukasz Langa <lukasz@langa.pl>
Mon, 31 Jul 2023 09:16:59 +0000 (09:16 +0000)
committerGitHub <noreply@github.com>
Mon, 31 Jul 2023 09:16:59 +0000 (11:16 +0200)
commit57f27e444175a8a5ffcd86971e06de61c1c38628
treed054c2fcabc91abbdea78d65e83dbab616be4134
parentaa5f2b1f3cdb5f71f5210d4578d5c68b6dd5e255
[3.11] gh-46376: Return existing pointer when possible in ctypes (GH-107131) (#107488)

(cherry picked from commit 08447b5deb47e2a0df87fa0a0576d300e5c909b4)

Co-authored-by: Konstantin <kpp.live+github@gmail.com>
Lib/ctypes/test/test_keeprefs.py
Misc/NEWS.d/next/Library/2023-07-24-01-21-16.gh-issue-46376.w-xuDL.rst [new file with mode: 0644]
Modules/_ctypes/_ctypes.c