Most ObjectEvents are dispatched to "sublocations". I was wondering whether it is ok for me to expect a certain dispatch order, i.e. top- down (container before sublocation) or bottom-up (sublocation before container)?

What I find is that this order depends on things like the exact interface a handler is registered for and, in Zope 2.9 (+3.2), even on the way I run tests (!).

I can only conclude that there is no guaranteed dispatch order. Now, should there be? Where can I learn about this contract?

Also see http://www.zope.org/Collectors/Zope/2308

Thanks,
Stefan

--
It doesn't necessarily do it in chronological order, though.
  --Douglas Adams


_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to