twisted.internet.abstract.FileDescriptor says implements(IProducer) but means implements(IPushProducer)
|Reported by:||glyph||Owned by:||wsanchez|
branch-diff, diff-cov, branch-cov, buildbot
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.
Change History (20)
comment:14 Changed 5 years ago by wsanchez
- Keywords review removed
- Owner set to wsanchez
- Status changed from new to assigned
Note: See TracTickets for help on using tickets.