[Twisted-Python] Interfaces
Tommi Virtanen
tv at twistedmatrix.com
Thu Apr 17 08:10:09 MDT 2003
On Thu, Apr 17, 2003 at 03:10:06AM -0500, Glyph Lefkowitz wrote:
> Currently this does _not_ happen, because
>
> Does this "DWIM" in Zope? I have been hesitant to make
Well, I sure was unsure about the cause until I read your
eloquent description of the real reasons behind it.
*cough*
> also register an adapter for Baz for IFoo? Why or why not? What if a
> different adapter was already registered? I could see that taking
> interface inheritance into account here could be sometimes convenient,
> but it could also be sometimes wrong. I really have no idea what the
> right answer is, and so leaving it "inconvenient but simple" was easier
> for the time being.
Then there should probably be a check that no interface
inherits another interface, as that is meaningless but badly
misleading in the current system.
--
:(){ :|:&};:
More information about the Twisted-Python
mailing list