[pypy-svn] r74436 - pypy/trunk/pypy/module/cpyext

fijal at codespeak.net fijal at codespeak.net
Fri May 7 18:56:13 CEST 2010


Author: fijal
Date: Fri May  7 18:56:12 2010
New Revision: 74436

Modified:
   pypy/trunk/pypy/module/cpyext/api.py
Log:
Revert 74430. Random, untested changes are not welcomed here.


Modified: pypy/trunk/pypy/module/cpyext/api.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/api.py	(original)
+++ pypy/trunk/pypy/module/cpyext/api.py	Fri May  7 18:56:12 2010
@@ -17,7 +17,6 @@
 from pypy.interpreter.error import OperationError, operationerrfmt
 from pypy.interpreter.baseobjspace import W_Root
 from pypy.interpreter.gateway import ObjSpace, unwrap_spec
-from pypy.interpreter.nestedscope import Cell
 from pypy.rlib.entrypoint import entrypoint
 from pypy.rlib.unroll import unrolling_iterable
 from pypy.rlib.objectmodel import specialize
@@ -306,7 +305,6 @@
         "BaseObject": "space.w_object",
         'None': 'space.type(space.w_None)',
         'NotImplemented': 'space.type(space.w_NotImplemented)',
-        'Cell': 'space.gettypeobject(Cell.typedef)',
         }.items():
         GLOBALS['Py%s_Type#' % (cpyname, )] = ('PyTypeObject*', pypyexpr)
 



More information about the Pypy-commit mailing list