a = 1000
b = 1000
a is b
So if you run this code using pycharm or command python filename.py
a is b = True
If you run this code using command line a is b = Fasle.
I know about implemented array in python (-5 .. 256), but the question is why it's True when you run your code not from command line?