[issue14386] Expose dictproxy as a public type

Raymond Hettinger report at bugs.python.org
Mon Mar 26 01:15:14 CEST 2012


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

I'm -1 on exposing this API.

Victor's sandboxing project doesn't warrant cluttering the public toolset.

As a consultant who gets to see many large codebases in different companies and I see zero need for this type to be exposed.  It is not hard to build proxies around any existing type.  Victor's use case is unique in that he needs the type to be implemented in C.  To that end, it would be okay to expose _dictproxy but not to make it a documented type.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14386>
_______________________________________


More information about the Python-bugs-list mailing list