[pypy-commit] pypy ffistruct: add an XXX so that I hopefully don't forget this :-)

antocuni noreply at buildbot.pypy.org
Wed Nov 9 13:51:22 CET 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
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)


More information about the pypy-commit mailing list