<div dir="ltr"><br>> Date: Thu, 28 Jul 2016 22:23:35 +0000<br>> From: Emanuel Barry <<a href="mailto:vgr255@live.ca">vgr255@live.ca</a>><br>> To: "<a href="mailto:guido@python.org">guido@python.org</a>" <<a href="mailto:guido@python.org">guido@python.org</a>><br>> Cc: "<a href="mailto:python-ideas@python.org">python-ideas@python.org</a>" <<a href="mailto:python-ideas@python.org">python-ideas@python.org</a>><br>> Subject: Re: [Python-ideas] Make types.MappingProxyType hashable<div><br><div>>> What real-world use case do you have for this?<br><br></div><div>> Not me, actually. Someone in #python asked about an immutable dict, > and I pointed them towards mappingproxy, only to realize it wasn't hashable. Maybe something like frozendict could be added, though? At this point I don't really have an opinion, so it's up to the list to decide if they want it or not :)<br><br></div><div>If the keys can be converted to/from valid identifiers, and the values are hashable, then namedtuple can give you your frozendict.</div></div><div><br></div><div>- Elazar</div></div>