INADA Naoki <[email protected]> added the comment: We have it already:
https://docs.python.org/3/library/stdtypes.html#mapping-types-dict > A dictionary’s keys are almost arbitrary values. Values that are not > hashable, that is, values containing lists, dictionaries or other mutable > types (that are compared by value rather than by object identity) may not be > used as keys. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue32899> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
