[pypy-svn] r64072 - pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Tue Apr 14 19:19:00 CEST 2009


Author: arigo
Date: Tue Apr 14 19:18:59 2009
New Revision: 64072

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/warmspot.py
Log:
Move the import locally.


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/warmspot.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/warmspot.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/warmspot.py	Tue Apr 14 19:18:59 2009
@@ -21,9 +21,8 @@
 # ____________________________________________________________
 # Bootstrapping
 
-from pypy.jit.metainterp.simple_optimize import Optimizer
-
 def apply_jit(translator, backend_name="auto", **kwds):
+    from pypy.jit.metainterp.simple_optimize import Optimizer
     if 'CPUClass' not in kwds:
         from pypy.jit.backend.detect_cpu import getcpuclass
         kwds['CPUClass'] = getcpuclass(backend_name)



More information about the Pypy-commit mailing list