Re: change property after inheritance

2006-09-08 Thread Steven Bethard
Maric Michaud wrote: > Le jeudi 07 septembre 2006 15:33, Steven Bethard a écrit : >> Well, lambda's not going away[1], > > Sure, they won't. > >> but there's no *need* for lambda here. >> It could be written as:: > > Le jeudi 07 septembre 2006 17:16, George Sakkis a écrit : >> Sure, it *could

Re: change property after inheritance

2006-09-08 Thread Maric Michaud
Le jeudi 07 septembre 2006 15:33, Steven Bethard a écrit : > Well, lambda's not going away[1], Sure, they won't. > but there's no *need* for lambda here. >   It could be written as:: Le jeudi 07 septembre 2006 17:16, George Sakkis a écrit : > Sure, it *could*; whether it *should* is a different

Re: change property after inheritance

2006-09-07 Thread Steven Bethard
George Sakkis wrote: > Steven Bethard wrote: > >> David Isaac wrote: >>> 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/20

Re: change property after inheritance

2006-09-07 Thread George Sakkis
Steven Bethard wrote: > David Isaac wrote: > > 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-p

Re: change property after inheritance

2006-09-07 Thread Steven Bethard
David Isaac wrote: > 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., i

Re: change property after inheritance

2006-09-06 Thread David Isaac
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?)

Re: change property after inheritance

2006-09-06 Thread Maric Michaud
Le mercredi 06 septembre 2006 16:33, David 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?) Why

change property after inheritance

2006-09-06 Thread David Isaac
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?) And what if I cannot change the base class? How to proceed then? Than