[Zope-dev] Re: OFS.Application deprecations for Zope 2.10

Florent Guillaume fg at nuxeo.com
Mon Jun 12 06:30:53 EDT 2006


Chris Withers wrote:
> Florent Guillaume wrote:
>> Anyway for EE the 'methods' use can be replaced by:
>> from OFS.Folder import Folder
>> Folder.externalEdit_ = ExternalEditor()
>> Folder.externalEditLink_ = EditLink
> 
> And this is supposed to be better?!

That's ExternalEditor's problem. At least the monkey patching is 
explicit, and in line with what the rest of __init__.py does. 
ExternalEditor is all about monkey patching.

> Until a sane alternative is available, I'd proprose to un-deprecate 
> these methods...

'methods' in __init__.py is not sane, it's big magic and nobody knows 
about it or how it works.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope-Dev mailing list