list vs tuple for a dict key- why aren't both hashable?

Wells wells at submute.net
Sun Nov 8 19:15:06 CET 2009


I'm not quite understanding why a tuple is hashable but a list is not.
Any pointers? Thanks!



More information about the Python-list mailing list