Changing identity comparisons to equality with numbers

It's an implementation detail of CPython that something like `len(v) is 1` works. It is possible to have a case where `int(1) == 1 and int(1) is 1` is False. It's never gonna happen ever, but my pedant hat was on.