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

Nick Coghlan ncoghlan at gmail.com
Sat Apr 21 15:09:08 CEST 2012


The internal dictproxy class was recently exposed as types.MappingProxyType.

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
[1].

[1] http://docs.python.org/dev/library/collections

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list