Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9aed17f + ef53558 commit bcaddf6Copy full SHA for bcaddf6
2 files changed
Lib/ctypes/util.py
@@ -92,7 +92,7 @@ def _findLib_gcc(name):
92
fdout, ccout = tempfile.mkstemp()
93
os.close(fdout)
94
cmd = 'if type gcc >/dev/null 2>&1; then CC=gcc; elif type cc >/dev/null 2>&1; then CC=cc;else exit 10; fi;' \
95
- '$CC -Wl,-t -o ' + ccout + ' 2>&1 -l' + name
+ 'LANG=C LC_ALL=C $CC -Wl,-t -o ' + ccout + ' 2>&1 -l' + name
96
try:
97
f = os.popen(cmd)
98
Misc/NEWS
@@ -88,6 +88,8 @@ Core and Builtins
88
Library
89
-------
90
91
+- Issue #17754: Make ctypes.util.find_library() independent of the locale.
+
- Issue #17968: Fix memory leak in os.listxattr().
- Issue #17606: Fixed support of encoded byte strings in the XMLGenerator
0 commit comments