delegates() should provide __eq__ and __ne__ operators.
Bug #331919 reported by
Henning Eggers
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| lazr.delegates |
Triaged
|
Wishlist
|
Unassigned | ||
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)
| tags: | added: tech-debt |
| Changed in lazr.delegates: | |
| importance: | Low → Wishlist |
To post a comment you must log in.
I changed the subject and description because the original was a misunderstanding with my reviewer.