Why are tuples immutable?

Thomas Heller theller at python.net
Thu Dec 16 13:19:24 CET 2004

"Fredrik Lundh" <fredrik at pythonware.com> writes:

> Antoon Pardon wrote:
>> That depends on whether the programmes wants value equality
>> or identity equality.
> how does the dictionary know if you want key value equality or key
> identity equality?

Smalltalk has separate Dictionary and IdentityDictionary classes.


More information about the Python-list mailing list