bugsnag / bugsnag-python

Official BugSnag error monitoring and error reporting for django, flask, tornado and other python apps.
https://docs.bugsnag.com/platforms/python/
MIT License
84 stars 42 forks source link

Fix encoding identical siblings #341

Closed 0HyperCube closed 1 year ago

0HyperCube commented 1 year ago

Goal

Currently when encoding a list or dictionary with identical siblings but no recursion, one of the fields is mistakenly replaced with [RECURSIVE].

Design

After finishing encoding an object, it is removed from the ignored list.

Changeset

Identical sibling objects are now properly encoded.

Testing

New test_encoding_identical_siblings test added.