When are immutable tuples *essential*? Why can't you just use lists *everywhere* instead?

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Fri Apr 20 19:09:52 CEST 2007

seberino at spawar.navy.mil wrote:

> Please help me think of an example where immutable tuples are
> essential.

When used as dictionary keys (also everywhere else where they must
be in a constant order).

Yes, this *is* used in practice.


BOFH excuse #14:

sounds like a Windows problem, try calling Microsoft support

More information about the Python-list mailing list