[Twisted-Python] Multiple plugins in "twistd"

Tristan Seligmann mithrandi at mithrandi.net
Thu May 21 06:20:52 MDT 2015


On 21 May 2015 at 04:31, Moshe Zadka <zadka.moshe at gmail.com> wrote:
> [2a] Since the docstrings do refer to the parent attribute, and since I
> would be surprised if services just implemented the interface without
> inheriting from "Service", I wonder if people object *too* much if I "fix"
> it by documenting the parent attribute as part of the interface?

For what it's worth (not sure if a single anecdote is helpful), almost
none of my IService implementations inherit from Service (mainly
because multiple inheritance is awkward, and they already want to
inherit from axiom.item.Item). However, I'm pretty sure they all have
the "parent" attribute.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar




More information about the Twisted-Python mailing list