L1 = [1, 2, 3]
L2 = L1
L1 == L2 and L1 is L2 both yield True.
L1 = [1, 2, 3]
L2 = [1, 2, 3]
L1 == L2 yields True (same values), but L1 is L2 yields False (different objects).
[...]
Archives for the Date February 9th, 2008
Learning Python: Chapter 6
Saturday, 9 February 2008
I Am a Strange Loop
A Short History of Nearly Everything
Seven Languages in Seven Weeks