What other languages use the same data model as Python?

Gregory Ewing greg.ewing at canterbury.ac.nz
Thu May 5 06:06:41 EDT 2011


John Nagle wrote:

>    A reasonable compromise would be that "is" is treated as "==" on
> immutable objects.

That wouldn't work for tuples, which can contain references
to other objects that are not immutable.

-- 
Greg



More information about the Python-list mailing list