[Zope-dev] multiple monkeypatches

Jim Penny jpenny@universal-fasteners.com
Tue, 4 Jun 2002 17:09:16 -0400


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