typed variables (WAS re.compile.match() results ...)

Stefan Seefeld seefeld at sympatico.ca
Thu Nov 11 14:01:01 EST 2004


Steven Bethard wrote:

> I think perhaps Axel Bock was getting a little pedantic here.  Technically
> Python does not have typed variables; any "variable" in Python can hold an
> object of any type.  Hence examples like:

I don't see this as a contradiction (but then, may be we'd need to 
define what 'variable' means, the reference or the referee). I only
meant to point out that there is a distinction between strong/weak
and static/dynamic typing, and thus, that Axel's question was perfectly
valid.

Regards,
		Stefan




More information about the Python-list mailing list