anatoly techtonik added the comment: On Sun, Sep 15, 2013 at 9:25 PM, Raymond Hettinger <rep...@bugs.python.org> wrote: > > In general, it is not possible for a hypothetical StrictOrderedDict to know > whether its input was ordered or not.
Right. That's why it should not accept input that can only be unordered (including dict and **kwargs) - this is what I mean by strict mode. > Remember, Armin's core concept for OrderedDict was "to remember the order > that keys were added, the order is determined by whoever does the adding". IMHO the statement "the order is determined by whoever does the adding" is false in 9/10 cases of passed dict. In 9/10 cases whoever supplies dict or **kwargs argument is unaware of what mistake he is making, and how many hour she will spend discovering the issue. ---------- _______________________________________ 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