[Zope3-dev] Interface.Implements module still broken for 2.2 metaclasses

Steve Alexander steve@cat-box.net
Mon, 08 Jul 2002 17:30:33 +0100


Phillip J. Eby wrote:
> 
> I think y'all are making this much more complicated than it actually is.
> If you need it to support 2.1, it isn't that hard to have two versions of
> getImplements()/getImplementsOfInstances(), with the right one defined
> based on the version.

I'm about to do the test run. I think I got confused earlier between 
directly comparing obj.__class__, type(obj) and isinstance(obj).

Blame too much exposure to the Proxy machinery for warping my usual 
judgement :-)


I'll run the tests now, but I think Phillip is correct, and this is in 
fact a safe thing to do with Zope 3.

I'll report back in a short while.

--
Steve Alexander