Skip to content

RecursionError where using non UTF-8 character #227

@see-gshefer

Description

@see-gshefer

Describe the bug
RecursionError where using non UTF-8 character

To Reproduce

import deepdiff

x = {
    "x": {
        "y": [
            "aaaaaa\u0142 bbbbb"
        ]
    }
}

result = x | deepdiff.grep({'foo': 'bar'}, verbose_level=2)

Expected behavior
return matched results as usual

OS, DeepDiff version and Python version (please complete the following information):

  • OS: MacOS BigSur
  • Python 3.8.6

Additional context
Got Recursion error:
RecursionError: maximum recursion depth exceeded in comparison

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions