[Python-ideas] Make types.MappingProxyType hashable

Victor Stinner victor.stinner at gmail.com
Thu Jul 28 18:11:57 EDT 2016

Good idea.

Le 29 juil. 2016 12:01 AM, "Emanuel Barry" <vgr255 at live.ca> a écrit :

> Hello Python-ideas,
> While answering a question earlier today, I realized that
> types.MappingProxyType is immutable and unhashable. It seems to me that if
> all values are hashable (all keys are already guaranteed to be hashable),
> then the mappingproxy itself should be hashable. Should I go ahead and make
> a patch for this, or is this a bad idea?
> Cheers,
> -Emanuel
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160729/f9423073/attachment.html>

More information about the Python-ideas mailing list