Open uchood opened 7 years ago
Hmm, definitely seems bad. Lemme see if I can fix this today.
Oh. Wait. This is definitely going to be tricky. I'm not sure how we can reasonably translate this to JSON. Since in JSON, you can use a list as a key for an Object.
@mitsuhiko thoughts? The only thing I can think of is just using the repr()
and force it to a string.
This seems to be what the internet suggests doing as well. Or storing as key/value pairs instead of a dictionary. Leaning towards just coercing the keys to strings with repr()
.
I thought we already repr() keys.
Sentry fall if there is a
frozenset
as key ofdict
in context I found this when near place of send error wasdict
withfrozenset
as keyproof 1
user case