TRIVIAL implementing __eq__ and __ne__ instead of __cmp__
TRIVIAL raise NotImplementedError on numeric expression references, as it does not suppose to work