[Zope3-dev] Re: hook and hookable zcml

R. David Murray rdmurray+dated+1041094795.bca19c@bitdance.com
Mon, 23 Dec 2002 11:59:53 -0500


In gmane.comp.web.zope.zope3 Gary Poster writes:
>For discussion and understanding of the future "right" solution for
>monkey-patching, how does the hook/hookable mechanism not solve the
>problem of multiple monkey patches?  It does disallow hooking the same
>code more than once, which I regard as a feature, not a flaw.

Well, if you regard single-patching-only as a feature, then hook
is fine.  I thought that management of multiple patches to the same
hook was something that was sorely wanted in Z2, and figured the
same would be true in Z3 if we were monkey patching at all.

--RDM