mς ‘γΈEc@sgdZdkZdklZd„Zd„Zd„Zd„Zd„Zdk l Z e eƒ[ dS( s› Use 'structured monkey patching' to enable zope.app.container event sending for Zope 2 objects. $Id: eventconfigure.py 61202 2005-11-02 14:37:52Z efge $ N(s deprecatedManageAddDeleteClassescCstidtƒdS(NsdUsing is deprecated (it is now the default), it will be removed in Zope 2.11(twarningstwarntDeprecationWarning(((t;/data/zmath/zope/lib/python/Products/Five/eventconfigure.pytsetContainerEventss cCsti|ƒdS(s?Instances of the class will still see their old methods called.N(t deprecatedManageAddDeleteClassestappendtclass_(R((RtsetDeprecatedManageAddDeletescCs gt(dS(N(R(((RtcleanUp!scCs |idddtdfƒdS(Nt discriminatortcallabletargs(t_contexttactiontNoneR(R ((RtcontainerEvents$s cCs)|idd|fdtd|fƒdS(NR sfive:deprecatedManageAddDeleteR R (R RRR(R R((RtdeprecatedManageAddDelete+s(s addCleanUp( t__doc__RtOFS.subscribersRRRR RRtzope.testing.cleanupt addCleanUp(RRRRRR RR((Rt?s