[Chandler-dev] Getting rid of all __init__ methods (for Item
subclasses)
Andi Vajda
vajda at osafoundation.org
Thu Mar 22 14:38:11 PST 2007
On Thu, 22 Mar 2007, Grant Baillie wrote:
> Well, I don't know the details of what filters/monitors/indexes/etc are
> coming in to play, but the attached test case raises a
>
> LookupError: Access to skiplist is denied, it is marked INVALID
>
> as written, and runs successfully if I remove the "with
> self.view.reindexingDeferred():" statement. Since the raise is triggered by a
> single attribute assignment (admittedly, EventStamp.rruleset, which results
> in a boatload of recurrence and triage status bookkeeping), I'm a little wary
> of adding view.reindexingDeferred() to the proposed __setup__.
Like I said, the issue is not with the filter monitors but with the boatload
of user code running and causing access to indexes currently invalidated. This
issue is very valid and warrants caution but, and this is my point, it is not
a special case specific to filter monitors.
Andi..
More information about the chandler-dev
mailing list