[Zope-dev] improving the utility and adapter lookup APIs

Lennart Regebro regebro at gmail.com
Sat Nov 28 03:11:25 EST 2009

On Wed, Nov 25, 2009 at 16:41, Martijn Faassen <faassen at 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


That said, it would be easy to implement (haha) if people really want
in together with


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
+33 661 58 14 64

More information about the Zope-Dev mailing list