property for class objects
Michele Simionato
michele.simionato at gmail.com
Wed Nov 10 07:31:52 EST 2004
Steve Menard <foo at bar.com> wrote in message news:<zvgkd.40384$ak3.1503768 at wagner.videotron.net>...
> I am not discarding this solution completely. It migth be that defining
> those 2 (class and metaclass) isnt too heavy. Someone needs to clue me
> in on this or I have to do some benchmarking myself.
Do your benchmark but I do not expect it to be heavy.
> Hopefully, tehre is a cleaner way to solve this.
>
Look at descriptors: http://users.rcn.com/python/download/Descriptor.htm
Michele Simionato
More information about the Python-list
mailing list