[Python-Dev] UserDict in 2.7

Raymond Hettinger raymond.hettinger at gmail.com
Tue Jun 22 08:21:51 CEST 2010


There's an entry in whatsnew for 2.7 to the effect of "The UserDict class is now a new-style class".

I had thought there was a conscious decision to not change any existing classes from old-style to new-style.  IIRC, Martin had championed this idea and had rejected all of proposals to make existing classes inherit from object.


Raymond

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100621/f1d3578d/attachment.html>


More information about the Python-Dev mailing list