[issue19026] OrderedDict should not accept dict as parameter
Raymond Hettinger
report at bugs.python.org
Sun Sep 15 18:49:46 CEST 2013
Raymond Hettinger added the comment:
An OrderedDict is a dict subclass and needs to accept the same inputs as dict methods. This is a guaranteed API and not a bug.
It is not the OrderedDict's fault if you supply an unordered input. It can't add order after the fact.
----------
assignee: -> rhettinger
nosy: +rhettinger
resolution: -> rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19026>
_______________________________________
More information about the Python-bugs-list
mailing list