On Wed, Nov 25, 2009 at 16:41, Martijn Faassen <faas...@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
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )

Reply via email to