[SciPy-dev] Cython, f2py and GSoC

Dag Sverre Seljebotn dagss@student.matnat.uio...
Thu Mar 26 14:45:53 CDT 2009

David Huard wrote:
>     The Fortran bindings generator would be able to generate bindings that
>     are python-buffer aware.  Currently one has to include the array
>     bounds information in the argument list for all fortran functions to
>     work with f2py; one can't use the nice assumed-shape arrays in Fortran
>     90 and later.  We would be adding that functionality (among other
>     things).  One could then seamlessly pass around multi-dimensional
>     numpy arrays to external fortran functions that use assumed-shape
>     arrays.
> This would be great !
> Have you thought of a way to handle ELEMENTAL statements ? Could they be 
> converted into ufuncs directly ?

It's possible to take Cython to a level where this could be done through 
Cython, and I hope that will happen, but I don't think it should fall 
within the scope of this project because of the workload.

Dag Sverre

More information about the Scipy-dev mailing list