Ticket #4386 defect closed fixed
twisted.internet.abstract.FileDescriptor says implements(IProducer) but means implements(IPushProducer)
|Reported by:||glyph||Owned by:||wsanchez|
(diff, github, buildbot, log)
This leads to some very unfortunate gaffes, like this one:
>>> from twisted.internet.tcp import Server >>> from twisted.internet.interfaces import IPushProducer >>> IPushProducer.implementedBy(Server) False
tcp.Server is very definitely supposed to implement IPushProducer; if it doesn't, it would be nearly impossible to implement any other push producers.
Note: See TracTickets for help on using tickets.