"sturlamolden" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
| We could include optional static typing in
| Python, and have an optional static optimizing native compiler for
| selected portions of code.

Python 3 will have optional 'type' annotations, where 'type' includes 
abstract base classes defined by the interface (methods).  So parameters 
could be annotated as a Number or Sequence, for instance, which is more 
useful often than any particular concrete type.  I strongly suspect that 
someone will use the annotations for compilation, which others will use 
them just for documentation and whatever else.

tjr



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to