Re: [Numpy-discussion] future of f2py and Fortran90+

2015-07-14 Thread Sturla Molden
Eric Firing 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

[Numpy-discussion] future of f2py and Fortran90+

2015-07-14 Thread Eric Firing
F2py is a great tool, but my impression is that it is being left behind by the evolution of Fortran from F90 onward. This is unfortunate; it would be nice to be able to easily wrap new Fortran libraries. I'm curious: has anyone been looking into what it would take to enable f2py to handle mode

Re: [Numpy-discussion] not inheriting from ndarray

2015-07-14 Thread Neal Becker
Neal Becker wrote: > I wanted the function of an array that accumulates my results, it starts > at > zero size, and resizes as needed. New results are added using > > accumulated += new_array > > A simple implementation of this is here: > > https://gist.github.com/2ab48e25fd460990d045.git > >

[Numpy-discussion] not inheriting from ndarray

2015-07-14 Thread Neal Becker
I wanted the function of an array that accumulates my results, it starts at zero size, and resizes as needed. New results are added using accumulated += new_array A simple implementation of this is here: https://gist.github.com/2ab48e25fd460990d045.git I have 2 questions: 1. Is this a reason