[pypy-svn] r73873 - pypy/trunk/pypy/module/sys

benjamin at codespeak.net benjamin at codespeak.net
Sun Apr 18 07:10:09 CEST 2010


Author: benjamin
Date: Sun Apr 18 07:10:07 2010
New Revision: 73873

Modified:
   pypy/trunk/pypy/module/sys/__init__.py
Log:
this makes test_app_main work; I have no idea why

Modified: pypy/trunk/pypy/module/sys/__init__.py
==============================================================================
--- pypy/trunk/pypy/module/sys/__init__.py	(original)
+++ pypy/trunk/pypy/module/sys/__init__.py	Sun Apr 18 07:10:07 2010
@@ -1,6 +1,5 @@
 from pypy.interpreter.mixedmodule import MixedModule
 from pypy.interpreter.error import OperationError
-from pypy.module.sys.interp_encoding import _getfilesystemencoding
 
 class Module(MixedModule):
     """Sys Builtin Module. """
@@ -88,6 +87,7 @@
         self.space.setitem(w_modules, w_name, w_module)
 
     def startup(self, space):
+        from pypy.module.sys.interp_encoding import _getfilesystemencoding
         self.filesystemencoding = _getfilesystemencoding(space)
 
     def getmodule(self, name): 



More information about the Pypy-commit mailing list