]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] 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:31:56 +0000 (18:31 +0200)
committerGitHub <noreply@github.com>
Fri, 24 Jul 2026 16:31:56 +0000 (19:31 +0300)
commit71361f331b30a34eb99e9c54ed37f96004fa9ea5
tree5fe433e625e57b886df048da8dbed87969695e87
parentb6f24be08d02a1f1b505a0f227221e48e86ead42
[3.15] gh-154551: Fix ctypes.util.find_library() in non-UTF-8 locales (GH-154552) (GH-154555)

_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]