When are immutable tuples *essential*? Why can't you just use lists *everywhere* instead?
fuzzyman at gmail.com
Sat Apr 21 00:18:09 CEST 2007
On Apr 20, 6:09 pm, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n... at spamgourmet.com> wrote:
> seber... 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.
Yup - using tuples as dictionary keys is very common.
> BOFH excuse #14:
> sounds like a Windows problem, try calling Microsoft support
More information about the Python-list