]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-140041: Fix import of `ctypes` on Android and Cygwin when ABI flags are present...
authorMalcolm Smith <smith@chaquo.com>
Wed, 15 Oct 2025 21:40:39 +0000 (22:40 +0100)
committerGitHub <noreply@github.com>
Wed, 15 Oct 2025 21:40:39 +0000 (05:40 +0800)
commit7f371ed84ba471bb1b11e79b502f244a9c17ac84
tree4d3ede72f5b5ac90368f56d0a5b3de94995af35d
parent65d1a14d59a16b441963bad3ca4b4783d37afd1d
gh-140041: Fix import of `ctypes` on Android and Cygwin when ABI flags are present (#140178)

Use sysconfig to determine the full name of libpython, rather than hardcoding
a library name that doesn't have ABI flags.
Android/testbed/app/build.gradle.kts
Lib/ctypes/__init__.py
Misc/NEWS.d/next/Library/2025-10-15-21-42-13.gh-issue-140041._Fka2j.rst [new file with mode: 0644]