[Zope-dev] OFS.Application deprecations for Zope 2.10
Florent Guillaume
fg at nuxeo.com
Fri Jun 9 14:02:13 EDT 2006
I wasn't the one who did it, but the rationale is to remove all magic
from things in __init__.py and use ZCML instead.
Anyway for EE the 'methods' use can be replaced by:
from OFS.Folder import Folder
Folder.externalEdit_ = ExternalEditor()
Folder.externalEditLink_ = EditLink
Florent
On 9 Jun 2006, at 17:41, Chris McDonough wrote:
> Jusst out of curiosity, what is the rationale for deprecating
> "methods"?
>
> - C
>
> On Jun 9, 2006, at 10:52 AM, Florent Guillaume wrote:
>
>> OFS.Application has a few deprecations warnings that were supposed
>> to go away in Zope 2.10:
>>
>> __init__.py of %s has a long deprecated '__ac_permissions__'
>> attribute.
>> __init__.py of %s has a long deprecated 'meta_types attribute.
>> __init__.py of %s has a long deprecated 'methods' attribute.
>>
>> Shall we remove them now?
>> Note that ExternalEditors 0.9.1 for instance still used 'methods'
>> but that's its own damn fault.
--
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