PEP 285: Adding a bool type

Magnus Lie Hetland mlh at vier.idi.ntnu.no
Tue Apr 9 07:02:33 EDT 2002


In article <mailman.1018339899.2981.python-list at python.org>, Christian
Tanzer wrote:
[snip]
>There are several dimensions to typing, including:
>
>- static vs. dynamic
>
>- strong vs. weak
>
[snip]
>
>Another important point with typing is whether typing applies to
>variables or to objects. In Python, objects are (strongly) typed, not
>variables. Thinking `variable` when considering typing (or objects in
>general) will not work very well in Python.

Hm. I thought this was what dynamic typing was all about, i.e. having
typed values but untyped variables/parameters (which means that
variable types need not be determined statically, at compile time)...
What am I missing here?

>Names-don't-matter-except-when-they-do-ly yr's

--
Magnus Lie Hetland                                  The Anygui Project
http://hetland.org                                  http://anygui.org



More information about the Python-list mailing list