[issue5402] MutableMapping code smell (see OrderedDict)

2009-03-02 Thread Raymond Hettinger
Changes by Raymond Hettinger : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/pyt

[issue5402] MutableMapping code smell (see OrderedDict)

2009-03-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, I'm happy with Guido's design of MutableMapping. It parallels all the other ABCs in its design and it succeeds completely at its primary role as a defining an interface. Its secondary role is to provide some mixin capability. It does well in this rol

[issue5402] MutableMapping code smell (see OrderedDict)

2009-03-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: UserDict is not gone. DictMixin is now mutable mapping. -- assignee: -> rhettinger priority: -> low ___ Python tracker ___ ___

[issue5402] MutableMapping code smell (see OrderedDict)

2009-03-01 Thread Jim Jewett
New submission from Jim Jewett : Copy of issue 5397 In python 3, UserDict (and DictMixin) are gone; presumably they should be replaced by either a dict subclass or the ABC MutableMapping. Unfortunately, there doesn't seem to be a clean way to inherit from both. In python 2.x, you could wri