[pypy-commit] pypy py3k: sys_module.filesystemencoding is not wrapped
rlamy
pypy.commits at gmail.com
Wed Aug 24 14:01:49 EDT 2016
Author: Ronan Lamy <ronan.lamy at 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')
More information about the pypy-commit
mailing list