[Python-Dev] statically nested scopes
Thu, 2 Nov 2000 14:14:50 -0500
> Hmm, so far the only argument for changing Python lookups
> was to allow writing lambdas without keyword hacks. Does this
> really warrant breaking code ?
*Some* amount of code, sure. Hard to quantify, but hard to believe there's
much code at risk.
> What other advantages would statically nested scopes have ?
Pythonic obviousness. Virtually everyone coming to Python from other
languages *expects* visually nested functions to work this way. That they
don't today is a very frequent source of surprises and complaints.