Python Feature Request: Explicit variable declarations

Beliavsky beliavsky at aol.com
Fri Apr 20 09:40:03 EDT 2007


On Apr 14, 6:21 am, samj... at gmail.com wrote:
> Hello. Please tell me whether this feature request is sane (and not
> done before) for python so it can be posted to the python-dev mailing
> list. I should say first that I am not a professional programmer with
> too much technical knowledge.
>
> I would like to have something like the "option explicit" statement in
> Visual Basic which turns on C-like checking for declaration of
> variables.

The thoughts of the inventor of Python on "Adding Optional Static
Typing to Python" are at http://www.artima.com/weblogs/viewpost.jsp?thread=86641
. I wonder if the idea will be implemented in Python 3.0.




More information about the Python-list mailing list