[issue14386] Expose dict_proxy internal type as types.MappingProxyType
Raymond Hettinger
report at bugs.python.org
Fri Apr 6 03:10:27 CEST 2012
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
[Victor]
> You mean that I can remove it?
No, it needs to stay there.
Those concrete types aren't exposed to users
but they are used inside to collections.abcs
to register the types so that isinstance()
will work as expected.
Summary: The collections.abc module is fine as-is.
Go ahead and add dictproxy to the types module.
Expose it there and document it there.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14386>
_______________________________________
More information about the Python-bugs-list
mailing list