Python/Fortran interoperability

Richard Maine nospam at see.signature
Mon Aug 24 02:26:31 CEST 2009


sturlamolden <sturlamolden at yahoo.no> wrote:

> On 23 Aug, 20:42, n... at cam.ac.uk wrote:
> 
> > That is precisely what I am investigating.  TR 29113 falls a LONG
> > way before it gets to any of the OOP data - indeed, you can't even
> > pass OOP derived types as pure data (without even the functionality)
> > in its model.  Nor most of what else Python would expect.
> 
> I am note sure what you mean. ...
> You thus can pass derived types between C and Fortran.

You missed the word "OOP", which seemed like the whole point. Not that
the particular word is used in the Fortran standard, but it isn't hard
to guess that he means a derived type that uses some of the OOP
features. Inheritance, polymorphism, and type-bound procedure (aka
methods in some other languages) come to mind. Since you say that you
haven't used any of the F2003 OOP features, it isn't too surprising that
you'd miss the allusion.

-- 
Richard Maine                    | Good judgment comes from experience;
email: last name at domain . net | experience comes from bad judgment.
domain: summertriangle           |  -- Mark Twain



More information about the Python-list mailing list