Return NotImplemented instead of raising a NotImplementedError
AlexandreDecan opened this issue · comments
Alexandre Decan commented
The comparison operators should return a NotImplemented
object instead of raising a NotImplementedError
.
See https://docs.python.org/3.6/library/constants.html#NotImplemented
Inti Ocean commented
Nice - thanks for the link - A PR to correct this (with tests) would be welcome.