[Python-ideas] of properties and metaclasses

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jul 25 06:22:13 CEST 2007


Josiah Carlson wrote:
> I would really like
> to see a *sane* use-case for the potential feature

I would like to have some reasonable way of achieving
the effect of a __getattr__ for a module, so that I
could implement auto-loaded classes.

You can do this now, but the convolutions required are
horrible to behold.

I don't think this particular proposal is the way
to go about it, though.

--
Greg



More information about the Python-ideas mailing list