[Python-Dev] Scoping (corner cases)
Tim Peters
tim.one@home.com
Sat, 17 Mar 2001 17:33:07 -0500
[Guido]
> Class scopes don't work like function scopes -- they use
> LOAD_NAME and STORE_NAME.
[Jeremy]
> Class scopes are also different because a block's free variables are
> not resolved in enclosing class scopes. We'll need to make sure the
> doc says that class scopes and function scopes are different.
Yup. Since I'll never want to do stuff like this, I don't really care a heck
of a lot what it does; but it should be documented!
What does Jython do with these?