From: SpringFlowers AutumnMoon Date: 2007-09-18T00:36:13+09:00 Subject: how to use tuple as hash key in Python, a hash key cannot be [1,2,3] but must be (1,2,3), a tuple. in Ruby, a list can actually be used as a hash key... but is it true that it is using the list's ID as the key, not the list's content... (that's why in Python, tuples can be used as hash keys, since they are unique by the values they contain) what about in Ruby, since there is no tuple, how can you similate using tuple as hash key? using list.join(",") as a key? -- Posted via http://www.ruby-forum.com/.