inline metaclasses

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Tue Jul 4 07:42:19 EDT 2006


In <mailman.7757.1152004931.27775.python-list at python.org>, K.S.Sreeram
wrote:

>> BTW, if that's what gangesmaster is after then it seem to work already. 
>> Put ``(object)`` after ``X`` and return something, say 'a' and 'b', in the
>> getters and the example prints 'a' and 'b'.
> 
> btw, the example seems to work even with old-style classes.

Yes, but setting properties works only with new-style classes.  So I use
them whenever I use properties.  In my mind properties and new-style
classes are linked together.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list