[Python-3000] Compiler package and nonlocal statement? (original) (raw)

Guido van Rossum guido at python.org
Mon Mar 19 23:27:59 CET 2007


I spent some time today fixing the compiler package so that it uses the new metaclass syntax and generates the correct new-style code for class definitions. But when testing this, I found that there's another newfangled piece of syntax it doesn't understand: nonlocal. Can anyone who is more familiar with the nonlocal implementation fix this?

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-3000 mailing list