On Monday, August 18, 2003, at 12:21 PM, Hannu Kankaanpää wrote:
> Strings, numbers and tuples are immutable in Python so that they
> can be used as dictionary keys. I admit that one could do away
> with this restriction by just choosing not to alter strings that
> are used as dictionary keys.

Ruby gets around this by dup-ing strings used as Hash keys, so the 
problem doesn't crop up.

Cheers


Dave