- Issue #17754: Make ctypes.util.find_library() independent of the locale.

This commit is contained in:
doko@ubuntu.com 2013-05-15 18:02:13 +02:00
parent dbbf4c813f
commit ef535584a9
2 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,7 @@ elif os.name == "posix":
fdout, ccout = tempfile.mkstemp()
os.close(fdout)
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;' \
'$CC -Wl,-t -o ' + ccout + ' 2>&1 -l' + name
'LANG=C LC_ALL=C $CC -Wl,-t -o ' + ccout + ' 2>&1 -l' + name
try:
f = os.popen(cmd)
try:

View File

@ -10,6 +10,8 @@ What's New in Python 3.3.3?
Core and Builtins
-----------------
- Issue #17754: Make ctypes.util.find_library() independent of the locale.
- Issue #17927: Frame objects kept arguments alive if they had been copied into
a cell, even if the cell was cleared.