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 <rep...@bugs.python.org> <http://bugs.python.org/issue19026> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com