[pypy-svn] r26095 - pypy/dist/pypy/rpython/rctypes

arigo at codespeak.net arigo at codespeak.net
Fri Apr 21 14:16:12 CEST 2006


Author: arigo
Date: Fri Apr 21 14:16:11 2006
New Revision: 26095

Modified:
   pypy/dist/pypy/rpython/rctypes/apyobject.py
Log:
Oups, an import that brought the whole rtyper in.


Modified: pypy/dist/pypy/rpython/rctypes/apyobject.py
==============================================================================
--- pypy/dist/pypy/rpython/rctypes/apyobject.py	(original)
+++ pypy/dist/pypy/rpython/rctypes/apyobject.py	Fri Apr 21 14:16:11 2006
@@ -2,7 +2,6 @@
 from pypy.annotation.model import SomeCTypesObject
 from pypy.rpython import extregistry
 from pypy.rpython.lltypesystem import lltype
-from pypy.rpython.robject import pyobj_repr
 
 
 # __________ py_object() calls __________
@@ -11,6 +10,7 @@
     return SomeCTypesObject(py_object, SomeCTypesObject.OWNSMEMORY)
 
 def py_object_specialize_call(hop):
+    from pypy.rpython.robject import pyobj_repr
     r_pyobject = hop.r_result
     v_result = r_pyobject.allocate_instance(hop.llops)
     if len(hop.args_s):



More information about the Pypy-commit mailing list