[pypy-svn] r51293 - pypy/dist/pypy/doc/discussion

fijal at codespeak.net fijal at codespeak.net
Tue Feb 5 15:39:02 CET 2008


Author: fijal
Date: Tue Feb  5 15:39:01 2008
New Revision: 51293

Added:
   pypy/dist/pypy/doc/discussion/ctypes_todo.txt   (contents, props changed)
Log:
Some ctypes-related todo


Added: pypy/dist/pypy/doc/discussion/ctypes_todo.txt
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/doc/discussion/ctypes_todo.txt	Tue Feb  5 15:39:01 2008
@@ -0,0 +1,31 @@
+Few ctypes-related todo points:
+
+* Write down missing parts and port all tests, eventually adding
+  additional tests.
+
+  - for unions and structs, late assignement of _fields_ is somewhat buggy.
+    Tests about behavior of getattr working properly on instances
+    are missing or not full. Some tests are skipped because I didn't understand
+    details.
+
+  - restype being a function is not working.
+
+  - there are features, which we don't support like buffer() and
+    array() protocols.
+
+  - raw structure/arrays as function arguments/result types are not supported
+    (even on _rawffi level)
+
+  - not all combinations of arrays/structures inlined in other
+    arrays/structures work.
+
+  - unicode is not implemented (all the conversion functions and friends)
+
+* keepalive is not there (everything is kept alive forever basically)
+
+* as all stuff is applevel, we cannot have it really fast right now.
+
+* we shall at least try to approach ctypes from the point of the jit
+  backends (at least on platforms that we support). The thing is that
+  we need a lot broader support of jit backends for different argument
+  passing in order to do it.



More information about the Pypy-commit mailing list