[Twisted-Python] MetaInterface call error

Christopher Armstrong radix at twistedmatrix.com
Sun Oct 19 17:50:41 EDT 2003


On Sun, Oct 19, 2003 at 06:43:16PM -0300, Rita D?az y/o Rodrigo Benenson wrote:
> AirhookConnection is defined as:
> 
> class AirHookConnection(protocol.ConnectedDatagramProtocol,
> interfaces.IUDPConnectedTransport):

Uhmm... This is totally wrong. Interfaces aren't meant to be
subclassed in implementations. I don't know why the Khashmir author
did that.


-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+            http://radix.twistedmatrix.com




More information about the Twisted-Python mailing list