Commits

Yichao Yu committed 2bd3b97

initialize LC_CTYPE instead of LC_ALL

  • Participants
  • Parent commits aca5ce9
  • Branches py3k-reset-locale

Comments (0)

Files changed (1)

pypy/goal/targetpypystandalone.py

                 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]))