[Python-3000] dict view operations (original) (raw)

Nicholas Bastin nick.bastin at gmail.com
Tue Sep 4 20:44:47 CEST 2007


On 9/4/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:

> Oh, and another thing: the items views can contain unhashable values

That, of course, could be fixed: if the key-value pairs would only hash by key (ignoring the value), they would remain hashable.

I understand what you mean, but without changing tuples generically, how would you implement this?

-- Nick



More information about the Python-3000 mailing list