Look at my PatchKit product. It provides a framework that allows multiple patches to be applied to any combination of products. Drop me a line if you need the api clarified. Adrian... -- Adrian Hungate EMail: adrian@haqa.co.uk Web: http://www.haqa.co.uk Computers are like air conditioners -- they stop working properly if you open WINDOWS ----- Original Message ----- From: "Jim Penny" <jpenny@universal-fasteners.com> To: <zope-dev@zope.org> Sent: Tuesday, June 04, 2002 10:09 PM Subject: [Zope-dev] multiple monkeypatches
Is there a safe way to handle multiple monkeypatches?
Here is the problem. External editor monkeypatches ObjectManager.manage_main. There are some other products that also need to monkeypatch this object.
For example, if Jerome Alet's Zshell were turned into a python product, it would be natural for it to monkeypatch this same object.
But, if it does so, whichever monkeypatch is applied last will destroy the previous. Any ideas on a reasonably simple way to solve this problem.
Thanks
Jim Penny
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )