Real Problems with Python
pinard at iro.umontreal.ca
Sun Feb 13 16:10:33 CET 2000
"Tim Peters" <tim_one at email.msn.com> writes:
> > 2. Lack of lexical scoping
> > Tim Peters disagrees, but I miss it a lot, even after using Python
> > for years.
> Actually, Tim wholly agrees that you miss it a lot.
Couldn't we approximate lexical scoping with classes? For the few times I
needed it, I was fairly satisfied with this solution. Surely more verbose
than in Scheme, but yet, given I do not use it often, I did not care the
P.S. - If you see a contradiction with my previous message where I praise
terseness, please consider that common and frequent idioms are better terse,
while some verbosity is acceptable for things like lexical scoping, that
we do less often, and for which some extra documentation is welcome.
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list