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
_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.
Bug report
(it returns the library in a UTF-8 or C locale.)
_findLib_ld()runsldwithuniversal_newlines=True, socommunicate()decodes its output in the locale encoding and fails on a localized diagnostic on stderr. The exception is swallowed, sofind_library()returnsNone. The stderr is discarded and the stdout is already decoded withos.fsdecode(), so the output should be read as bytes.Linked PRs