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.
1 parent dbbf4c8 commit ef53558Copy full SHA for ef53558
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
@@ -10,6 +10,8 @@ What's New in Python 3.3.3?
10
Core and Builtins
11
-----------------
12
13
+- Issue #17754: Make ctypes.util.find_library() independent of the locale.
14
+
15
- Issue #17927: Frame objects kept arguments alive if they had been copied into
16
a cell, even if the cell was cleared.
17
0 commit comments