Author: Ronan Lamy <ronan.l...@gmail.com>
Branch: py3k
Changeset: r86506:e5e113c82242
Date: 2016-08-24 19:01 +0100
http://bitbucket.org/pypy/pypy/changeset/e5e113c82242/

Log:    sys_module.filesystemencoding is not wrapped

diff --git a/pypy/module/sys/__init__.py b/pypy/module/sys/__init__.py
--- a/pypy/module/sys/__init__.py
+++ b/pypy/module/sys/__init__.py
@@ -144,7 +144,7 @@
             # XXX the two lines above take a few seconds to run whenever
             # we initialize the space; for tests, use a simpler version
             from pypy.module.sys.interp_encoding import base_encoding
-            self.filesystemencoding = space.wrap(base_encoding)
+            self.filesystemencoding = base_encoding
 
     def flush_std_files(self, space):
         w_stdout = space.sys.getdictvalue(space, 'stdout')
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to