[Zope] WTF is a monkeypatch?

Paul Winkler pw_lists at slinkp.com
Tue Oct 14 13:47:28 EDT 2003


On Tue, Oct 14, 2003 at 01:36:10PM -0400, John Coleman wrote:
> I am trying to resolve some Oracle issues with ZopeProfiler, but it's a 
> "monkey patch" with no instructions on installing it.  I've searched 
> this mailing list and the zope.org website high and low for instructions 
> on installing a "monkey patch," but I'll be damned if I can find them. 
> Can someone offer assistance?

"Monkey patch" means that instead of patching the actual source code,
we are replacing some class or function at runtime.  It's the same
as a "Hotfix" except it's generally agreed that the Hotfix name is
reserved for security-related patches.

Monkey patches are normally distributed and installed like any
other zope product: You put the directory in your Products
directory and restart. That's it.
IIRC, ZopeProfiler follows this pattern.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's METABOLIC INVESTIGATOR!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list