[pypy-svn] r75235 - pypy/trunk/pypy/module/sys
arigo at codespeak.net
arigo at codespeak.net
Wed Jun 9 12:22:16 CEST 2010
Author: arigo
Date: Wed Jun 9 12:22:15 2010
New Revision: 75235
Modified:
pypy/trunk/pypy/module/sys/interp_encoding.py
Log:
Revert r75039. It makes pypy-c -A tests fail on tannit,
and it is entirely undocumented apart from the commit
message "Obscure specialcase". Reverting it seems to
not make any test in the sys module fail either.
Modified: pypy/trunk/pypy/module/sys/interp_encoding.py
==============================================================================
--- pypy/trunk/pypy/module/sys/interp_encoding.py (original)
+++ pypy/trunk/pypy/module/sys/interp_encoding.py Wed Jun 9 12:22:15 2010
@@ -43,8 +43,6 @@
rlocale.setlocale(rlocale.LC_CTYPE, "")
loc_codeset = rlocale.nl_langinfo(rlocale.CODESET)
if loc_codeset:
- if loc_codeset == 'ANSI_X3.4-1968':
- loc_codeset = 'ascii'
codecmod = space.getbuiltinmodule('_codecs')
w_res = space.call_function(space.getattr(codecmod,
space.wrap('lookup')),
More information about the Pypy-commit
mailing list