[Chandler-dev] Getting rid of all __init__ methods (for Item subclasses)

Andi Vajda vajda at osafoundation.org
Thu Mar 22 16:33:39 PST 2007


On Thu, 22 Mar 2007, Phillip J. Eby wrote:

> They are computed using the item's state, so the item has to exist first. 
> E.g., in your own P2P plugin, see the various Share classes' __init__: they 
> create attribute values based on other attributes, so their computation has 
> to occur after the kwarg values are already set.
>
> Based on our IRC conversation, I'll go ahead and use deferred observers and 
> indexes for *setting* the values, though.

Yes, it all makes sense now, as discussed on IRC.
Thank you for the clarification.

Andi..



More information about the chandler-dev mailing list