Author: Armin Rigo <[email protected]>
Branch: cffi-1.0
Changeset: r77371:155e69499c0a
Date: 2015-05-17 22:49 +0200
http://bitbucket.org/pypy/pypy/changeset/155e69499c0a/

Log:    translation fix

diff --git a/pypy/module/_cffi_backend/cdlopen.py 
b/pypy/module/_cffi_backend/cdlopen.py
--- a/pypy/module/_cffi_backend/cdlopen.py
+++ b/pypy/module/_cffi_backend/cdlopen.py
@@ -22,7 +22,7 @@
             try:
                 handle = dlopen(ll_libname, flags)
             except DLOpenError, e:
-                raise wrap_dlopenerror(space, e, filename)
+                raise wrap_dlopenerror(ffi.space, e, filename)
         W_LibObject.__init__(self, ffi, filename)
         self.libhandle = handle
 
diff --git a/pypy/module/_cffi_backend/ffi_obj.py 
b/pypy/module/_cffi_backend/ffi_obj.py
--- a/pypy/module/_cffi_backend/ffi_obj.py
+++ b/pypy/module/_cffi_backend/ffi_obj.py
@@ -32,7 +32,7 @@
     def __init__(self, ctxobj):
         self.ctxobj = ctxobj
         self.free_mems = []       # filled from cdlopen.py
-    @rgc.must_be_light_finalizer
+
     def __del__(self):
         ctxobj = self.ctxobj
         free_mems = self.free_mems
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to