You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please checkout the F.A.Q page before creating a bug ticket to make sure it is not already addressed.
Describe the bug
A TypeError is raised in Delta when using a diff between dicts that have a key None and an item removed from a list:
TypeError: '<' not supported between instances of 'NoneType' and 'str'
Admittedly using None as a key in a dictionary is an unusual edge case, but it is sometimes useful to collect up data with a currently unknown key. I haven't seen anything to suggest that None keys are not supported in deepdiff; please correct me if I'm wrong.
Please checkout the F.A.Q page before creating a bug ticket to make sure it is not already addressed.
Describe the bug
A
TypeError
is raised inDelta
when using a diff between dicts that have a keyNone
and an item removed from a list:Admittedly using
None
as a key in a dictionary is an unusual edge case, but it is sometimes useful to collect up data with a currently unknown key. I haven't seen anything to suggest thatNone
keys are not supported in deepdiff; please correct me if I'm wrong.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Back in version 5.6.0, this case worked without error:
OS, DeepDiff version and Python version (please complete the following information):
Additional context
The error seems to have been introduced with version 5.7.0.
The text was updated successfully, but these errors were encountered: