[Tutor] Mutable Properties

Steven D'Aprano steve at pearwood.info
Fri Oct 1 04:16:56 CEST 2010


On Fri, 1 Oct 2010 11:24:16 am Chris King wrote:
> > What problem are you trying to solve? There is likely another way
> > to solve it. (Not necessarily an easy way, but we'll see.)
>
> So I'll have to create my own object which modifies each method to
> fire off the set method if the old form and the new form are unequal,
> there is no easy way?

I repeat... what problem are you trying to solve?

Calling the set method for something that *doesn't* set a property 
doesn't sound like a solution to a problem to me. It sounds like a 
problem itself.



-- 
Steven D'Aprano


More information about the Tutor mailing list