[Python-Dev] Explicit Lexical Scoping (pre-PEP?)

Guido van Rossum guido at python.org
Fri Jul 7 22:24:22 CEST 2006


On 7/7/06, Just van Rossum <just at letterror.com> wrote:
> Why couldn't at least augmented assignment be implicitly rebinding?

Well, personally I'm for allowing full rebinding semantics but only
when a 'global' (or 'nonlocal') statement is used first. Making
augmented assignment automatically imply 'global' etc. seems too
magical to me.

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


More information about the Python-Dev mailing list