New submission from g...@nlc.co.nz <g...@nlc.co.nz>:

A list can no be used as the key to a dict, apparently because it is 
"unhashable": TypeError: unhashable type: 'list'.

The code must exist to hash object like this a tuple is hashable and can be 
constructed from a list.

----------
components: Interpreter Core
messages: 303919
nosy: g...@nlc.co.nz
priority: normal
severity: normal
status: open
title: list unhashable, can not be use as key to dict
type: enhancement
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31730>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to