Oct. 14, 2005
6:52 a.m.
Sokolov Yura wrote:
May be allow modules to define __getattr__ ?
I think I like the descriptor idea better. Besides being more in keeping with modern practice, it would allow for things like from autoloading import autoload Foo = autoload('foomodule', 'Foo') Blarg = autoload('blargmodule', 'Blarg') where autoload is defined as a suitable descriptor subclass. I guess we could do with a PEP on this... Greg