[Numpy-discussion] error handling with f2py?

Sturla Molden sturla@molden...
Thu Jan 15 10:17:49 CST 2009


Is it possible to make f2py raise an exception if a fortran routine 
signals an error?

If I e.g. have

     subroutine foobar(a, ierr)

Can I get an exception automatically raised if ierr != 0?


Sturla Molden



More information about the Numpy-discussion mailing list