]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-154551: Fix ctypes.util.find_library() in non-UTF-8 locales (GH-154552...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 24 Jul 2026 16:32:13 +0000 (18:32 +0200)
committerGitHub <noreply@github.com>
Fri, 24 Jul 2026 16:32:13 +0000 (19:32 +0300)
commitf83689ca8a6bd05d67e04528b1b1e4ec7f184107
tree619373c83ae02e359e1c85787751170304302f15
parenta71a282c69bee0794d33c7c145cdc0e28b18886a
[3.14] gh-154551: Fix ctypes.util.find_library() in non-UTF-8 locales (GH-154552) (GH-154556)

_findLib_ld() failed to decode the localized "ld" stderr in the locale
encoding.
(cherry picked from commit 66e313f471516bfa04c5c8966c159fafe6be082e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/ctypes/util.py
Misc/NEWS.d/next/Library/2026-07-23-19-45-00.gh-issue-154551.Ct7pL9.rst [new file with mode: 0644]