[Python-3000] Sky pie: a "var" keyword

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Oct 9 21:24:25 CEST 2006


Josiah Carlson <jcarlson at uci.edu> writes:

> From what I can tell, the only thing that your 'var' keyword does is
> ambiguate the global vs. local case,

No, it can select between any of outer scopes.

It also allows to put globals in an array instead of a dictionary,
making them as fast as locals.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Python-3000 mailing list