A little stricter type checking

Robert Brewer fumanchu at amor.org
Sat Sep 4 14:11:18 EDT 2004


Peter Otten wrote:
> Should Python be extended to allow type declarations, I expect them to
> appear in places where they reduce the usefulness of the code while
> claiming to make it safe...

True. But if optional type declarations make it into Python 3.0, they'll
be there for speed (compiled optimizations), not safety. In that realm,
it can be a fair trade.


Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org



More information about the Python-list mailing list