[Interface-dev] Decorator naming

Jim Fulton jim at zope.com
Tue Apr 7 13:48:57 EDT 2009


On Apr 7, 2009, at 7:30 AM, Steve Alexander wrote:

> Lennart Regebro wrote:
>> 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.
>
> Has implementsOnly every been used?

Yes

>  Perhaps we can get rid of it.

No

> WHUI.


But we have.  We haven't used it widely, but we have used it.

Jim

--
Jim Fulton
Zope Corporation




More information about the Interface-dev mailing list