Hi all, perhaps you remember my name from some previous posts (By Brian Granger) about automatic mem management.
I started to experiment with Cython for (re)implementing mpi4py, a Python port to MPI[1/2] spec following the API of the standard C++ bindings for MPI-2. However, I'll to this by only accessing the C bindings of MPI as defined in MPI-1 and MPI-2. In about 4 nights, I was able to wrap a significant portion of MPI specs, maintaining backwards compatibility with the former mpi4py code (a mix of pyure Python hand-written C extension). To be honest, I believed that Cython was just another approach, now I believe Cython is THE approach. As it seems the development of Cython is very, very fast (thanks for that!), I'll do in everyday work following the HG repo 'cython-devel'. At some point, I'll try to dive in the Cython internals in order to be able to fix possible problems. Perhaps at some point I'll ask for commit permisions. And then, a small gcc (-Wall -pedantic) warning MPI.c: In function __Pyx_UnpackItem: MPI.c:36454: warning: ISO C90 does not support the `z' printf length modifier Of course, Python2.5 uses '%zd' everywere for printing Py_ssize_t. Does any one know is this can be worked around ? At first, it's seems to me that there is no way. Regards, -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev