--On 6. Oktober 2007 18:07:51 +0200 Hanno Schlichting <[EMAIL PROTECTED]> wrote:
Hi. Zope 2 currently emits deprecation warnings about old-style event methods in OFS, for example manage_afterAdd and manage_beforeDelete. The deprecation warning states that these methods won't be called anymore in Zope 2.11. I would like to turn this deprecation warning into a discouraged warning, i.e. a deprecation warning that just states that the use of these methods is discouraged and you should use event subscribers, but any mentioning of a Zope version where this feature will be removed goes away. You can call it an endless deprecation warning as well.
While event subscribers are certainly nicer, I don't see any realistic chance of refactoring all code in larger projects (like CMF and Plone) to move to events entirely in the next months or even years.
Description: PGP signature
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )