[Zope-dev] Class advisors in Python 3

Hanno Schlichting hanno at hannosch.eu
Fri Jul 30 07:57:09 EDT 2010


On Fri, Jul 30, 2010 at 1:53 PM, Stephan Richter
<srichter at cosmos.phy.tufts.edu> 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


More information about the Zope-Dev mailing list