Typed Python?

beliavsky at aol.com beliavsky at aol.com
Sun Jul 4 15:04:58 EDT 2004


Thomas Reichelt <XXNOSPAMXX at gibts.net> wrote in message news:<2kn746F4ci1vU1 at uni-berlin.de>...
> Moin,
> 
> short question: is there any language combining the syntax, flexibility and
> great programming experience of Python with static typing? Is there a
> project to add static typing to Python?
> 
> Thank you,

If you are using Python mainly for numerical work and use Numeric or
Numarray for array operations, Fortran 90 or 95 may be the closest
replacement with static typing. The syntax is fairly similar (assuming
that the free source form of F90/F95 is used, as it should for new
code). Fortran 2003 supports object-oriented programming with
inheritance (as does Python), but full F2003 compilers are not
available yet.



More information about the Python-list mailing list