[issue1367711] Remove usage of UserDict from os.py

Raymond Hettinger report at bugs.python.org
Sat Jan 12 17:26:32 CET 2008


Raymond Hettinger added the comment:

> it's better to derived from dict for things like
> this than to derive from UserDict or UserDictMixin

That's true for UserDict but not DictMixin.  IIRC, 
the latter will continue to exist in Py3.0 and it
has a purpose that is much different than UserDict
or dict, namely to build-out objects with a mapping
interface but are *not* dicts under the hood.

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1367711>
_____________________________________


More information about the Python-bugs-list mailing list