]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-154551: Fix ctypes.util.find_library() in non-UTF-8 locales (GH-154552)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 23 Jul 2026 17:28:39 +0000 (20:28 +0300)
committerGitHub <noreply@github.com>
Thu, 23 Jul 2026 17:28:39 +0000 (17:28 +0000)
commit66e313f471516bfa04c5c8966c159fafe6be082e
tree3a7d990c0cabe3e8b93ae12bd57f3457c6f9e0f5
parent2b4e062a277f888c0139ac7196c2b6dcaed795dc
gh-154551: Fix ctypes.util.find_library() in non-UTF-8 locales (GH-154552)

_findLib_ld() failed to decode the localized "ld" stderr in the locale
encoding.

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]