Real Problems with Python

Alex alex at somewhere.round.here
Sun Feb 13 16:34:03 EST 2000


> > Couldn't we approximate lexical scoping with classes?
> 
> Certainly

Could someone give me an example of how to do this?  Probably I am
simply confused about the terminology, but don't you run into the same
sorts of namespace problems with nesting classes as you do with nesting
functions? 

Alex.



More information about the Python-list mailing list