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
@chasel2361 Thanks for posting reproducible code. Is it possible to give me the smallest amount of data that causes the issue? That way I can add it as a unit test to make sure the issue is resolved once and for all.
seperman
changed the title
deepdiff works wierd while comparing two user defined tree with iignore_order=True
RecursionError with custom objects
Jul 6, 2023
I' not sure is this a bug or not. Maybe someone can give me some hint to fix this problem.
Describe the bug
I have a custom Node object with the following structure:
When I compare these two objects, it enters an infinite loop with specific data content.
To Reproduce
I have already used pickle to save the data that will cause errors as an attachment.
Node.zip
Buggy Output
RecursionError: maximum recursion depth exceeded
the infinite loop is in Node.children
Expected behavior
OS, DeepDiff version and Python version (please complete
the following information):
Additional context
The text was updated successfully, but these errors were encountered: