Static Typing in Python

Jacek Generowicz jacek at
Mon Mar 15 21:30:33 CET 2004

JCM <joshway_without_spam at> writes:

> 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.

I don't disagree with you :-)

As I keep saying, weak typing is a wishy-washy concept, and your
working definition has a lot of merit. Could you cite anything that
uses your definition? (I'm not asking for these to argue with you, but
to have something to cite in situations when I might want to back up
your working definition.)

More information about the Python-list mailing list