In Python, x is y
returns true if the two sides evaluate to the same object; that is, it checks pointer equality. Now I tried something like this:
>>>a = 2
>>>a is 2
True
However..
>>>a = 9203409249024
>>>a is 9203409249024
False
Why this difference in behavior?