Author: Yichao Yu <[email protected]>
Branch: py3k-reset-locale
Changeset: r72394:2bd3b970804c
Date: 2014-07-09 07:45 +0800
http://bitbucket.org/pypy/pypy/changeset/2bd3b970804c/

Log:    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

Reply via email to