Open mikelynch opened 4 years ago
Thanks for the bug report! I agree this is a problem.
IIRC this should be a relatively straightforward change, implemented in the style of __eq__
. I'm not sure there are any subtleties that wouldn't also apply to equality.
I'd be happy to review a pull request if anyone would like to submit a patch.
According to the Python documentation:
At the moment, this isn't the case:
It looks like the fix is to add an additional function in
adt/decorator.py
– are there any subtleties that complicate that?