Armin Rigo committed 476ceee


  • Participants
  • Parent commits 021afa2
  • Branches ffi-backend

Comments (0)

Files changed (2)

File pypy/module/_cffi_backend/

 class W_CDataApplevelOwning(W_CData):
     """This is the abstract base class for classes that are of the app-level
     type '_cffi_backend.CDataOwn'.  These are weakrefable."""
-    _attrs_ = []
+    _attrs_ = ['_lifeline_']    # for weakrefs
     _immutable_ = True
     def _owning_num_bytes(self):

File pypy/module/_cffi_backend/

     def call(self, funcaddr, args_w):
         space =
         raise operationerrfmt(space.w_TypeError,
-                              "cdata '%s' is not callable",
+                              "cdata '%s' is not callable",
 W_CType.typedef = TypeDef(