You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ctypes.util.find_library() returns None in non-UTF-8 locales #154551
_findLib_ld() runs ld with universal_newlines=True, so communicate() decodes its output in the locale encoding and fails on a localized diagnostic on stderr. The exception is swallowed, so find_library() returns None. The stderr is discarded and the stdout is already decoded with os.fsdecode(), so the output should be read as bytes.
Activity
gh-154551: Fix ctypes.util.find_library() in non-UTF-8 locales (GH-15…
[3.15] gh-154551: Fix ctypes.util.find_library() in non-UTF-8 locales (…
[3.14] gh-154551: Fix ctypes.util.find_library() in non-UTF-8 locales (…
[3.13] gh-154551: Fix ctypes.util.find_library() in non-UTF-8 locales (…
pythongh-154551: Fix ctypes.util.find_library() in non-UTF-8 locales (p…