[Python-Dev] just trying to catch up with the semantic
Barry A. Warsaw
barry@digicool.com
Thu, 1 Mar 2001 16:21:37 -0500
>>>>> "GvR" == Guido van Rossum <guido@digicool.com> writes:
GvR> To resolve a name, search from the inside out for either
GvR> a scope that contains a global statement for that name, or a
GvR> scope that contains a definition for that name (or both).
I think that's an excellent rule Guido -- hopefully it's captured
somewhere in the docs. :) I think it yields behavior that both easily
discovered by visual code inspection and easily understood.
-Barry