In the Python 3 porting effort, I have now reached the place where the
@implementor(IFoo) decorator seems to work.
Next step is to make a decorator for implementsOnly.
But I don't know what to call that decorator. Here is some
possibilities, in roughly the order of how much i dislike them, from
quite a lot to even more. :) Better suggestions are very welcome.
@implementer_of(IFoo)
@implementerOf(IFoo)
@only_implementer(IFoo)
@onlyImplementer(IFoo)
@implementer_only(IFoo)
@implementerOnly(IFoo)
@implementer(IFoo, inherit=False)
@implementer(only=IFoo)
--
Lennart Regebro: Pythonista, Barista, Notsotrista.
http://regebro.wordpress.com/
+33 661 58 14 64
_______________________________________________
Interface-dev mailing list
Interface-dev@zope...
http://mail.zope.org/mailman/listinfo/interface-dev
opensubscriber is not affiliated with the authors of this message nor responsible for its content.