]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] 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:08:35 +0000 (00:08 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Oct 2025 22:08:35 +0000 (22:08 +0000)
commit504bf76dd267cfa82d02aaca7e797e57257f83c1
tree6c72058481619ccb5f6f39578fe9f5bdfdffc3d8
parent5caf64335cb3504d0b1321b9da6ef1a0a040eb43
[3.14] gh-140041: Fix import of `ctypes` on Android and Cygwin when ABI flags are present (GH-140178) (#140180)

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]