[Python-Dev] PEP for Better Control of Nested Lexical Scopes (original) (raw)

Terry Reedy tjreedy at udel.edu
Tue Feb 21 23:17:47 CET 2006


"Jeremy Hylton" <jeremy at alum.mit.edu> wrote in message news:e8bf7a530602211125k28fc64bcx62430c375d060a8b at mail.gmail.com...

If I recall the discussion correctly, Guido said he was open to a version of nested scopes that allowed rebinding.

Yes. Among other places, he said in http://article.gmane.org/gmane.comp.python.devel/25153/match=nested+scopes ''' Your PEP wonders why I am against allowing assignment to intermediate levels. Here's my answer: all the syntaxes that have been proposed to spell this have problems. So let's not provide a way to spell it. I predict that it won't be a problem. If it becomes a problem, we can add a way to spell it later. ''

tjr



More information about the Python-Dev mailing list