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


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   [EMAIL PROTECTED]

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to