The last four hours (3:00 AM right now here at Argentina) I've been
working in a patch for enabling Cython generate code working with
Python 2.6 and Python 3.0.

Until now, the generated code (at least for the full mpi4py project)
compiles and link fine with no errors.

However, I have a big  problems I do not know how to 'fix' in Cython.
It is related to unbound methods disapearing in Py3K. Then, normal
python classes does not work, but the cdef ones are fine.

Is there any interest on this to go mainstream? I was very
conservative about the PyString/PyUnicode issue. The right one is used
in a place-by-place base. Of course, because of this, I have to pass
'bytes' to MPI, and I get 'bytes' from the C calls.

Finally, I'm completelly sure that I've not fixed all the relevant
parts, but this is IMHO a good starting point.




-- 
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
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to