[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: objects as mutable dictionary keys
From:       Steven Bethard <steven.bethard () gmail ! com>
Date:       2004-12-28 22:40:54
Message-ID: WhlAd.579807$wV.50073 () attbi_s54
[Download RAW message or body]

Peter Maas wrote:
> Peter Maas schrieb:
> 
>> There was a huge and sometimes heated debate about tuples, lists and
>> dictionaries recently, and the mainstream opinion was that dictionary
>> keys must not be mutable, so lists are not allowed as dictionary keys.
> 
> 
> Warning, long posting (~ 100 lines)
> 
[snip summary]

Yeah, that looks like a pretty decent summary to me.  I wonder if this 
would be worth posting on the Wiki somewhere?  Maybe:

http://www.python.org/moin/DictionaryKeys

That makes it easy to point to when this issue comes up again.

Steve
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic