property for class objects

Michele Simionato michele.simionato at
Wed Nov 10 13:31:52 CET 2004

Steve Menard <foo at> wrote in message news:<zvgkd.40384$ak3.1503768 at>...
> 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:

   Michele Simionato

More information about the Python-list mailing list