Author: Antonio Cuni <[email protected]>
Branch: ffistruct
Changeset: r49009:f2c743343892
Date: 2011-11-09 13:50 +0100
http://bitbucket.org/pypy/pypy/changeset/f2c743343892/

Log:    add an XXX so that I hopefully don't forget this :-)

diff --git a/pypy/module/_ffi/interp_struct.py 
b/pypy/module/_ffi/interp_struct.py
--- a/pypy/module/_ffi/interp_struct.py
+++ b/pypy/module/_ffi/interp_struct.py
@@ -119,6 +119,7 @@
                                     zero=True, add_memory_pressure=True)
 
     def __del__(self):
+        # XXX: check whether I can turn this into a lightweight destructor
         if self.rawmem:
             lltype.free(self.rawmem, flavor='raw')
             self.rawmem = lltype.nullptr(rffi.VOIDP.TO)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to