Ticket #4386 defect closed fixed
twisted.internet.abstract.FileDescriptor says implements(IProducer) but means implements(IPushProducer)
| Reported by: | glyph | Owned by: | wsanchez |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: |
branches/filedescriptor-interfaces-4386
(diff, github, buildbot, log) |
|
| Author: | habnabit | Launchpad Bug: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

