I known that 'is' in Python is compare two object's id. But why the same compare will return different result?
Here is a example code for my question. (Python 2 and 3 as same)
>>> x = '123'
>>> y = '123'
>>> x is y
True
>>> x *= 100
>>> y *= 100
>>> x is y
False