[issue5402] MutableMapping code smell (see OrderedDict)

2009-03-02 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net 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

[issue5402] MutableMapping code smell (see OrderedDict)

2009-03-02 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5402 ___ ___ Python-bugs-list mailing list

[issue5402] MutableMapping code smell (see OrderedDict)

2009-03-01 Thread Jim Jewett
New submission from Jim Jewett jimjjew...@users.sourceforge.net: 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

[issue5402] MutableMapping code smell (see OrderedDict)

2009-03-01 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: UserDict is not gone. DictMixin is now mutable mapping. -- assignee: - rhettinger priority: - low ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5402