[Python-Dev] Expose dictproxy through collections rather than the types module?

R. David Murray rdmurray at bitdance.com
Sat Apr 21 16:43:16 CEST 2012


On Sat, 21 Apr 2012 23:09:08 +1000, Nick Coghlan <ncoghlan at gmail.com> wrote:
> Since it's not very discoverable that way, would anyone object if I
> moved things around so it was exposed as collections.MappingProxy
> instead? The main benefit to doing so is to get it into the table of
> specialised container types at the top of the collections module docs

The short answer is yes, someone would mind, which is why it is where it
is.  Read the ticket for more: http://bugs.python.org/issue14386.

--David


More information about the Python-Dev mailing list