f90wrap [1] extends the functionality of f2py, and can automatically generate sensible wrappers for certain cases.
[1] https://github.com/jameskermode/f90wrap

On 15 July 2015 at 03:45, Sturla Molden <sturla.molden@gmail.com> wrote:
Eric Firing <efiring@hawaii.edu> wrote:

> I'm curious: has anyone been looking into what it would take to enable
> f2py to handle modern Fortran in general?  And into prospects for
> getting such an effort funded?

No need. Use Cython and Fortran 2003 ISO C bindings. That is the only
portable way to interop between Fortran and C (including CPython) anyway.

NumPy-Discussion mailing list