Static Typing in Python

JCM joshway_without_spam at
Mon Mar 15 20:29:57 CET 2004

Jacek Generowicz <jacek.generowicz at> wrote:
> Ludovic Aubry <no_ludal_spam at> writes:
>> > Try as you will, Python would not allow you to do any of these things,
>> > because it is _strongly typed_ with respect to these operations on these
>> > types.
>> Python will allow you to multiply string with integers for example ;)

> Yes, and in that respect it is weakly typed.

Here I disagree.  Python has a rule for multiplying a string and an
integer--this isn't an exmaple of weak typing.  No re-interpretation
of data representation is being done.

More information about the Python-list mailing list