• Badabinski@kbin.earth
    link
    fedilink
    arrow-up
    1
    ·
    1 hour ago

    There are generally different degrees of eval as well. ast.literal_eval in Python is much more forgivable, and is the only reasonable way to handle data generated by chucklefucks who think simply stringifying a dict and writing it to a file is a reasonable serialization strategy.