I am trying to change the behavior of python's int
class, but I'm not sure if it can be done using pure python. Here is what I tried so far:
import builtins
class int_new(builtins.int):
def __eq__(self, other):
return True
int = int_new
print(5 == 6) # the result is False, but I'm anticipating True