[pypy-svn] r29448 - pypy/dist/pypy/rpython

arigo at codespeak.net arigo at codespeak.net
Wed Jun 28 15:41:33 CEST 2006


Author: arigo
Date: Wed Jun 28 15:41:27 2006
New Revision: 29448

Modified:
   pypy/dist/pypy/rpython/rtyper.py
Log:
Disable this feature.  The code is out-of-date and crashes.


Modified: pypy/dist/pypy/rpython/rtyper.py
==============================================================================
--- pypy/dist/pypy/rpython/rtyper.py	(original)
+++ pypy/dist/pypy/rpython/rtyper.py	Wed Jun 28 15:41:27 2006
@@ -82,12 +82,14 @@
         except:
             self.seed = 0
         self.order = None
-        RTYPERORDER = os.getenv('RTYPERORDER')
-        if RTYPERORDER:
-            order_module = RTYPERORDER.split(',')[0]
-            self.order = __import__(order_module, {}, {},  ['*']).order
-            s = 'Using %s.%s for order' % (self.order.__module__, self.order.__name__)
-            log.info(s)
+        # the following code would invoke translator.goal.order, which is
+        # not up-to-date any more:
+##        RTYPERORDER = os.getenv('RTYPERORDER')
+##        if RTYPERORDER:
+##            order_module = RTYPERORDER.split(',')[0]
+##            self.order = __import__(order_module, {}, {},  ['*']).order
+##            s = 'Using %s.%s for order' % (self.order.__module__, self.order.__name__)
+##            log.info(s)
         self.crash_on_first_typeerror = True
 
     def getdriveroptions(self):



More information about the Pypy-commit mailing list