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

(cherry picked from commit 08447b5deb47e2a0df87fa0a0576d300e5c909b4)

Co-authored-by: Konstantin <kpp.live+github@gmail.com>
Lib/test/test_ctypes/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