28 Nov
2009
28 Nov
'09
8:11 a.m.
On Wed, Nov 25, 2009 at 16:41, Martijn Faassen <faassen@startifact.com> wrote:
As a final thought, I don't like having to import 'implements' from zope.interface either. Since we're moving to Python 2.6 which supports class decorators, I'd like to see something like this become possible:
@IFoo.implements class Foo(object): pass
Yuck! That said, it would be easy to implement (haha) if people really want in together with @implemeter(IFoo) Which I have to say I prefer.
If we do well we might all have this for Christmas. :)
Time to clean up that branch of zope.interface I have, I see. :) -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64