[pypy-svn] r15167 - pypy/dist/pypy/interpreter

arigo at codespeak.net arigo at codespeak.net
Wed Jul 27 12:18:53 CEST 2005


Author: arigo
Date: Wed Jul 27 12:18:50 2005
New Revision: 15167

Modified:
   pypy/dist/pypy/interpreter/baseobjspace.py
Log:
Use the posix and math built-in modules whenever --nofakedmodules is
specified, not only if --file is specified as well.


Modified: pypy/dist/pypy/interpreter/baseobjspace.py
==============================================================================
--- pypy/dist/pypy/interpreter/baseobjspace.py	(original)
+++ pypy/dist/pypy/interpreter/baseobjspace.py	Wed Jul 27 12:18:50 2005
@@ -149,7 +149,7 @@
                 builtinmodule_list.append(('parser', 'recparser'))
             elif self.options.useparsermodule == "parser":
                 builtinmodule_list.append(('parser', None))
-            if self.options.uselibfile and self.options.nofakedmodules:
+            if self.options.nofakedmodules:
                 builtinmodule_list.append(('posix', None))
                 builtinmodule_list.append(('math', None))
             self._builtinmodule_list = builtinmodule_list



More information about the Pypy-commit mailing list