[pypy-svn] r15171 - pypy/dist/pypy/translator

arigo at codespeak.net arigo at codespeak.net
Wed Jul 27 12:52:37 CEST 2005


Author: arigo
Date: Wed Jul 27 12:52:34 2005
New Revision: 15171

Modified:
   pypy/dist/pypy/translator/geninterplevel.py
Log:
For now, ignore from geninterp references to pypy/lib/ modules.
Needed to avoid the "faking <type 'module'>" messages with
py.py --nofakedmodules.  As far as I see no test is unhappy about that.


Modified: pypy/dist/pypy/translator/geninterplevel.py
==============================================================================
--- pypy/dist/pypy/translator/geninterplevel.py	(original)
+++ pypy/dist/pypy/translator/geninterplevel.py	Wed Jul 27 12:52:34 2005
@@ -410,6 +410,10 @@
             return bltinmod_helper(self, value)
         # we might have createda reference to a module
         # that is non-standard.
+
+        # SKIPPING
+        return "space.w_None"
+
         # check whether we can import
         try:
             import value



More information about the Pypy-commit mailing list