[pypy-svn] r11981 - pypy/dist/goal

arigo at codespeak.net arigo at codespeak.net
Thu May 5 21:45:24 CEST 2005


Author: arigo
Date: Thu May  5 21:45:24 2005
New Revision: 11981

Modified:
   pypy/dist/goal/targetpypymain.py
Log:
disable geninterp for now -- we have faaar toooo much interp-level code
for the poor translator already.



Modified: pypy/dist/goal/targetpypymain.py
==============================================================================
--- pypy/dist/goal/targetpypymain.py	(original)
+++ pypy/dist/goal/targetpypymain.py	Thu May  5 21:45:24 2005
@@ -2,6 +2,7 @@
 from pypy.objspace.std.objspace import StdObjSpace
 from pypy.annotation.model import *
 from pypy.annotation.listdef import ListDef
+from pypy.interpreter import gateway
 
 # WARNING: this requires the annotator.
 # There is no easy way to build all caches manually,
@@ -22,6 +23,10 @@
     global space, w_entry_point
     # disable translation of the whole of classobjinterp.py
     StdObjSpace.setup_old_style_classes = lambda self: None
+    # disable geninterp for now -- we have faaar toooo much interp-level code
+    # for the poor translator already
+    gateway.ApplevelClass.use_geninterp = False
+
     space = StdObjSpace()
 
     # manually imports app_main.py



More information about the Pypy-commit mailing list