2010/6/22 Raymond Hettinger <raymond.hettin...@gmail.com>: > 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.
IIRC this was because UserDict tries to be a MutableMapping but abcs require new style classes. -- Regards, Benjamin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com