[Python-Dev] Lexical scoping in Python 3k

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jul 3 03:11:43 CEST 2006


Josiah Carlson wrote:

> If the only code that benefits from such changes are "very *simple*",
> then I think that says something about its necessity.

The point is that they're only "very simple" if you
can write them using access to an outer scope. Without
that ability, they become less simple, less efficient,
more convoluted, harder to follow, etc.

Also I don't buy the argument that something has to
be useful for big, complicated things in order to be
worth having in the language.

--
Greg


More information about the Python-Dev mailing list