]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-140041: Fix import of `ctypes` on Android and Cygwin when ABI flags are...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 15 Oct 2025 22:03:25 +0000 (00:03 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Oct 2025 22:03:25 +0000 (22:03 +0000)
commitf09a6a2fc8b328bf0c1fadcb509fae291d4a454c
tree4cc8a1abf7e32b1ce54dd9ac4813b5aa50f28094
parent77976761ba31f36061f299b08592c1480dc3e104
[3.13] gh-140041: Fix import of `ctypes` on Android and Cygwin when ABI flags are present (GH-140178) (#140181)

Use sysconfig to determine the full name of libpython, rather than hardcoding
a library name that doesn't have ABI flags.
(cherry picked from commit 7f371ed84ba471bb1b11e79b502f244a9c17ac84)

Co-authored-by: Malcolm Smith <smith@chaquo.com>
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]