[Twisted-Python] Interfaces

Jp Calderone exarkun at intarweb.us
Wed Apr 16 23:07:45 EDT 2003

  I went to remove the interface inheritance done in
twisted.internet.interfaces tonight, thinking it was all my fault.  To my
surprise, IReadDescriptor and IWriteDescriptor both use it as well though. 
So what's the story on this?  Is it kosher?

  Next:  There is no IPerspective, and I think I want one.  What I actually
*really* want is a way to specify that any class that implements a
particular interface of mine also be a Perspective.  If interface
inheritance is okay, I can just make my interface inherit from IPerspective. 
If it's not, I guess I need another solution.



"The problem is, of course, that not only is economics bankrupt but it has
 always been nothing more than politics in disguise ... economics is a form
 of brain damage."  -- Hazel Henderson
 up 27 days, 23:02, 6 users, load average: 0.48, 0.66, 1.08

More information about the Twisted-Python mailing list