[Zope3-dev] Interface surprise

Steve Alexander steve@cat-box.net
Mon, 31 Mar 2003 18:17:07 +0200


> Maybe so.  Another thing that occurred to me after I sent the email is 
> that maybe my function should be looking for "IInterface" instead of 
> Interface, 

Yes.

> and that maybe Interface.isImplementedBy(foo) doesn't 
> actually promise anything at all.

It promises that the object has a non-empty interface declaration.


> It makes sense, but it's still surprising at first.

Isn't that so often the way in meta-land ;-)

--
Steve Alexander