[Twisted-Python] INCOMPATIBLE CHANGE: Adding "parent" as a required attribute to IService

Moshe Zadka zadka.moshe at gmail.com
Wed Jun 3 23:23:00 MDT 2015


IService's docstrings obliquely referred to a "parent" attribute, but have
not actually specified its type or existence. This change makes this
attribute mandatory. It also makes the existence of the other IService
attributes, running and name, enforced by verifyObject.

The ticket is available here: https://twistedmatrix.com/trac/ticket/7922
and the buildbots are green on the branch (the intermittent thread failure
failed intermittently).

Especially if you defined your own IService implementations that do not
inherit from Service, please run your unittests with this branch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20150604/d6c632de/attachment.html>


More information about the Twisted-Python mailing list