[Python-Dev] Want to make dictproxy objects creatable from Python

Jim Fulton jim at zope.com
Fri Sep 3 13:02:10 CEST 2004

New-style classes use dict proxies to protect their dictionaries
from direct manipulation. I would like to be able to use these in
other situations, but the dictproxy class doesn't let me create new
instances.  I propose to give the class __new__ and __init__ methods
so that it is callable from Python.

Any objections?

May I do this for 2.4b1?


Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org

More information about the Python-Dev mailing list