On Thu, Mar 04, 2010 at 11:19:52AM -0500, Benji York wrote:
On Thu, Mar 4, 2010 at 11:09 AM, Brian Sutherland <brian@vanguardistas.net> wrote:
On Thu, Mar 04, 2010 at 10:09:26AM -0500, Jim Fulton wrote:
In the specific case of zope.event, I'd prefer it stay separate. I want developers to be able to publish events without having to commit to a subscription mechanism. For example, ZODB depends on zope.event so it can generate events and provide a generic hook mechanism. I don't want it to depend on zope.component.
I just committed a jinty-optional-event branch for zope.component that's an experiment as to how to make the dependency on zope.event optional.
Maybe I'm missing something, but zope.event is so minimal I can't see that making optional is worth the effort.
Actually, I misunderstood your question. Personally, I also don't think it's worth the effort. But it's come up a few times already, so is obviously something some group of people want. The effort, also, is actually quite small as can be seen on the branch. Perhaps it's even an effort saver if it prevents the topic coming up again and again ;) -- Brian Sutherland