lazr-developers team mailing list archive
-
lazr-developers team
-
Mailing list archive
-
Message #00040
[Bug 331919] Re: delegates() should provide __eq__ and __ne__ operators.
I think this is right thing to do in most cases. I think it may need to
try other.context or other. I expect delegated_bug to equal bug.
** Changed in: lazr.delegates
Importance: Undecided => Low
Status: New => Triaged
--
delegates() should provide __eq__ and __ne__ operators.
https://bugs.launchpad.net/bugs/331919
You received this bug notification because you are a member of LAZR
Developers, which is the registrant for lazr.delegates.
Status in lazr.delegates: Triaged
Bug description:
It would be very useful if delegates would add these to a class:
def __eq__(self, other):
return (self.context == other.context)
def __ne__(self, other):
return not (self == other)
References