r...@zedat.fu-berlin.de (Stefan Ram): > Marko Rauhamaa <ma...@pacujo.net> writes: >>I definitely trust that: >>a = b >>assert a is b >>even when b holds an immutable object. > > |Python 3.6.0 ... > |>>> x = 21568 > |>>> x is 21568 > |False
I wasn't talking about x or 21568. I was talking about a and b. Marko -- https://mail.python.org/mailman/listinfo/python-list