Commits

Philip Jenvey committed bd92f95 Merge

Merged in yuyichao/pypy/py3k-reset-locale (pull request #246)

initialize LC_CTYPE instead of LC_ALL

  • Participants
  • Parent commits aca5ce9, 2bd3b97
  • Branches py3k

Comments (0)

Files changed (1)

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