Ned Deily <n...@python.org> added the comment:

As documented, a dict key must be hashable and, because lists are not 
immutable, they are not hashable and thus can't be used as keys.  See the 
Python Glossary for more info.  https://docs.python.org/2/glossary.html

----------
nosy: +ned.deily
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
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