STINNER Victor <victor.stin...@gmail.com> added the comment:

"It is exposed as types.DictProxyType in Python 2..."

Yes, but the purpose of the issue is to enable its constructor. You cannot 
instanciate a DictProxy in Python 2:

>>> import types
>>> types.DictProxyType
<type 'dictproxy'>
>>> types.DictProxyType({})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: cannot create 'dictproxy' instances

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14386>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to