Proposal: local variable declarations and type advice

Brian Quinlan brian at sweetapp.com
Tue Feb 26 01:56:02 EST 2002


Paul Rubin wrote: 

[snipped]
> Python has grown from a tiny acorn to a healthy young tree.  I believe
> any changes and additions to its design should be made with the idea
> that it may become a mighty oak one day, i.e. that it will have
serious
> native-code optimizing compilers.   Language design changes should
work
> toward that goal, or at least not impede it.

Is optimization the only purpose of your proposals? If that is the case,
they are probably not needed. The Python compiler already identifies
variables that have local-only scope. Presumably other compilers could
do the same.

Cheers,
Brian





More information about the Python-list mailing list