Re: Class advisors in Python 3

Hanno Schlichting <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Fri, Jul 30, 2010 at 1:31 PM, Baiju M <[email protected]> wrote:
> Does class advisors like 'implements' and 'adapts' are going to work
> in Python 3 ? If not, should we discourage its usage now ?

They won't work anymore.

zope.interface contains 2to3 fixers to rewrite them to a class
decorator syntax IIRC.

Hanno
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.