Skip to content

use literal_eval instead of eval #2

Description

@scopatz

From @melund, one option is to use ast.literal_eval() instead of eval() when loading the cache. This will almost certainly be safer. However, before it is added, we should investigate whether it is faster or slower to do so. Since this is in the startup code path, we should do whatever is faster.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions