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:53 PM, Stephan Richter <[email protected]> wrote: > On Friday, July 30, 2010, Hanno Schlichting wrote: >> zope.interface contains 2to3 fixers to rewrite them to a class >> decorator syntax IIRC. > > Wow, that's really nice. BTW, does Python 2.7 support class decorators > already? If so, we could slowly migrate code to that syntax without having to > go Py3 all the way. Class decorators were introduced in Python 2.6. I think it's going to be a whole before we can require 2.6 as a minimum version. 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 )