[Interface-dev] Decorator naming
Lennart Regebro
regebro at gmail.com
Tue Apr 7 07:29:00 EDT 2009
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
More information about the Interface-dev
mailing list