fox-it/flow.record

Remove deprecated `ast.Str`, `ast.Bytes` and `ast.NameConstant`.

Schamper opened this issue · 0 comments

AST_NODE_S_TYPES = tuple(
filter(
None,
[
getattr(ast, "Str", None),
getattr(ast, "Bytes", None),
],
),
)
AST_NODE_VALUE_TYPES = tuple(
filter(
None,
[
getattr(ast, "NameConstant", None),
getattr(ast, "Constant", None),
],
),
)