id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc
42,List objects are unhashable,dfnord@…,xi,"Even though yaml specification allows lists (""flow collections on yaml jargon"") to be keys, pyaml fails to use them, as lists are unhashable.

For instance, loading ""[1, 2]: something"" gives the error ""found unacceptable key (list objects are unhashable)""

As a away around this, flow collections could be translated into a simple hasheable subclass of list, such as:

{{{
class HasheableList(list):
    #############################
    ## Public Methods
    #############################
    def __hash__(self):
        return hash(tuple(self))
}}}",defect,closed,normal,pyyaml,major,wontfix,,
