dictdiffer icon indicating copy to clipboard operation
dictdiffer copied to clipboard

Support for OrderedDict?

Open m4ce opened this issue 8 years ago • 5 comments

It would be nice if dictdiffer had support for ordered dictionaries.

m4ce avatar Apr 05 '17 13:04 m4ce

Do you mean that it would consider different orders of keys as a difference to be reported?

mikaelho avatar Apr 05 '17 14:04 mikaelho

@mikaelho, that is indeed what I meant :)

m4ce avatar Apr 05 '17 14:04 m4ce

Would make sense to have the option, given that CPython 3.6 dicts are ordered as well (even though "not to be relied upon").

mikaelho avatar Apr 05 '17 16:04 mikaelho

@mikaelho - yep, perhaps a boolean like ignore_order could do?

m4ce avatar Apr 05 '17 20:04 m4ce

It looks like a duplicate of #41.

jirikuncar avatar Apr 06 '17 11:04 jirikuncar