On Mon, 4 Mar 2002 14:40, Casey Duncan wrote:
> I agree, monkey patches are perfect for this. That
> makes them totally transparent to the application and
> Zope for that matter. There's nothing wrong with them
> in the right application.
My main concern is the use of monkeypatching in the core makes it difficult
for someone else to release a product that also MPs without them worrying
about whether something has already patched code. Especially when we're
talking about MP'ing so many core Zope objects (yes, I count >1 as "so many"
I think the performance hit is really quite minimal for two if statements at
the entry and exit point(s) of a function to turn the behaviour on and off.
ps. don't forget Anthony, our first reaction when we both thought of this
approach was *shudder* :)
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -