Is Python type safe?

Skip Montanaro skip at pobox.com
Tue Mar 16 15:41:40 EST 2004


    srijit> I would like to know the definition of type safe 

Try reading

    http://en.wikipedia.org/wiki/Talk:Datatype

(found by googling for "wikipedia type safety").

    srijit> and whether Python can be considered as a type safe
    srijit> language. Similarly are Java, C# or C++ type safe?

Python: yes.  I don't know about Java or C# but my guess is that since C++
has casts you can make it do some type unsafe things.

Skip




More information about the Python-list mailing list