change property after inheritance

David Isaac aisaac0 at verizon.net
Wed Sep 6 22:10:53 EDT 2006


Le mercredi 06 septembre 2006 16:33,  Alan Isaac a écrit :
>> Suppose a class has properties and I want to change the
>> setter in a derived class. If the base class is mine, I can do this:
>> http://www.kylev.com/2004/10/13/fun-with-python-properties/
>> Should I? (I.e., is that a good solution?)

"Maric Michaud" <maric at aristote.info> wrote in message
news:mailman.82.1157557490.5279.python-list at python.org...
> Why not ? This ontroduce the notion of public getter a la C++/Java while
the
> property is overloadable by itself (as below), but it's correct design
IMHO.

More support for lambda, it seems...
Cheers,
Alan Isaac





More information about the Python-list mailing list