Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r72395:bd92f95fcd54
Date: 2014-07-08 18:02 -0700
http://bitbucket.org/pypy/pypy/changeset/bd92f95fcd54/
Log: Merged in yuyichao/pypy/py3k-reset-locale (pull request #246)
initialize LC_CTYPE instead of LC_ALL
diff --git a/pypy/goal/targetpypystandalone.py
b/pypy/goal/targetpypystandalone.py
--- a/pypy/goal/targetpypystandalone.py
+++ b/pypy/goal/targetpypystandalone.py
@@ -57,7 +57,7 @@
space.call_function(w_run_toplevel, w_call_startup_gateway)
if rlocale.HAVE_LANGINFO:
try:
- rlocale.setlocale(rlocale.LC_ALL, '')
+ rlocale.setlocale(rlocale.LC_CTYPE, '')
except rlocale.LocaleError:
pass
w_executable = space.fsdecode(space.wrapbytes(argv[0]))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit