Pierre wrote: > Ideally, 'tabv.cold' would give me 'tabv', masked where the values are > <10. > I don't want to make 'Tabl' a subclass of 'Temp'. I'd like to use it > more generically, so that when I define a 3rd class 'Color', I could > initiate 'Tabv' with an instance of 'Color', accessing the 'Color' > properties without the 'Temp' properties.
I guess interfaces could make your day: http://www.zope.org/Products/ZopeInterface --- Heiko. -- http://mail.python.org/mailman/listinfo/python-list