What other languages use the same data model as Python?

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat May 7 05:39:47 EDT 2011


John Nagle wrote:

>     Such tuples are still identical, even if they
> contain identical references to immutable objects.

The point is you'd have to do the comparison only one
level deep, so it wouldn't be exactly the same as ==
on tuples.

-- 
Greg



More information about the Python-list mailing list