rollbar / pyrollbar

Error tracking and logging from Python to Rollbar
https://docs.rollbar.com/docs/python/
MIT License
213 stars 135 forks source link

traverse object for recursive shortening #448

Closed pawelsz-rb closed 5 months ago

pawelsz-rb commented 5 months ago

Description of the change

Traverse dictionary for recursive shortening

dict = {"l": "","2":2, "3": 3, "4": 4, "5":5,
        "6":6, "7": 7, "9" :9, "10": 10, "b": {"f": "sdf",
        "2":2, "3": 3, "4": 4, "5":5, "6":6, "7": 7, "9" :9, "10": 10, "11": 11, "12":12} }

for i in range(1, 10240):
    dict["l"] += "a"
    dict["b"]["f"] += "s"

output:

#6: NameError: name 'main_app_loop' is not defined 2024-04-15 23-31-12

Type of change

Related issues

Shortcut stories and GitHub issues (delete irrelevant)

Checklists

Development

Code review