[pypy-svn] r51545 - pypy/dist/pypy/lib/_ctypes

fijal at codespeak.net fijal at codespeak.net
Fri Feb 15 20:08:14 CET 2008


Author: fijal
Date: Fri Feb 15 20:08:12 2008
New Revision: 51545

Modified:
   pypy/dist/pypy/lib/_ctypes/basics.py
Log:
Add a comment.


Modified: pypy/dist/pypy/lib/_ctypes/basics.py
==============================================================================
--- pypy/dist/pypy/lib/_ctypes/basics.py	(original)
+++ pypy/dist/pypy/lib/_ctypes/basics.py	Fri Feb 15 20:08:12 2008
@@ -26,6 +26,8 @@
         type 'self'.
         """
         cobj = self.from_param(value)
+        # XXX this function segfaults randomly, because
+        # cobj is considered to be an owner of that, fix
         return cobj._get_buffer_for_param()
 
     def _CData_output(self, resarray, base=None, index=-1):



More information about the Pypy-commit mailing list