Description
Per the rejection notice in PEP-416, there is no native ImmutableDict in Python. However, there is a MappingProxyType that makes a proxy to the mapping of a dictionary, and is fully native. For most purposes, including avro's, it's a fully suitable replacement for a real ImmutableDict implementation (except for a minor detail about JSON encoding that is easier to solve and support than maintaining a complete implementation of ImmutableDict.)
I propose that we drop ImmutableDict and replace it with MappingProxyType.
Attachments
Issue Links
- links to