Yes. Look at my PatchKit - http://www.zope.org/Members/haqa/PatchKit If you need help with how to create a patch, drop me a line. Adrian... -- Adrian Hungate Try Zope - http://www.zope.org - You might like it. If you do, try my Zope products - http://www.zope.org/Members/haqa - You might like them too! -----Original Message----- From: sean.bowman@acm.org [mailto:sean.bowman@acm.org] Sent: 02 September 2001 22:02 To: zope-dev@zope.org Subject: [Zope-dev] monkeypatching Products hello, Is it possible for a Product to "monkey patch" another Product? If so, is there an example of this anywhere? I'm trying to add a method to a class in a different product, and I'd like to aviod subclassing. Thanks, Sean _______________________________________________ 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 )
Also, check Caseman's homepage, he has the how-to there.
From: Adrian Hungate <adrian@haqa.co.uk> Date: Sun, 2 Sep 2001 22:33:15 +0100 To: "'sean.bowman@acm.org'" <sean.bowman@acm.org>, zope-dev@zope.org Subject: RE: [Zope-dev] monkeypatching Products
Yes.
Look at my PatchKit - http://www.zope.org/Members/haqa/PatchKit
If you need help with how to create a patch, drop me a line.
Adrian...
-- Adrian Hungate Try Zope - http://www.zope.org - You might like it. If you do, try my Zope products - http://www.zope.org/Members/haqa - You might like them too!
-----Original Message----- From: sean.bowman@acm.org [mailto:sean.bowman@acm.org] Sent: 02 September 2001 22:02 To: zope-dev@zope.org Subject: [Zope-dev] monkeypatching Products
hello,
Is it possible for a Product to "monkey patch" another Product? If so, is there an example of this anywhere?
I'm trying to add a method to a class in a different product, and I'd like to aviod subclassing.
Thanks, Sean
_______________________________________________ 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 )
_______________________________________________ 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 )
participants (2)
-
Adrian Hungate -
marc lindahl