Nick Coghlan added the comment: And actually re-reading the existing code to see it already works that way... how can two dicts with the same keys, without any extra keys being added and deleted in either have different iteration orders? If it's just a matter of copying the original dict changing the order, then we should be able to restore consistency by copying it when building the expected repr as well.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19681> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com