Well, thats a bad habbit if you do it with eval in Python. For unfiltered data ast.literal_eval is preferred, but it's still 4 times slower than builtin json.loads, so I don't see a reason to ignore it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Well, thats a bad habbit if you do it with
eval
in Python. For unfiltered dataast.literal_eval
is preferred, but it's still 4 times slower than builtinjson.loads
, so I don't see a reason to ignore it.