Skip to content

Dessert rewrite emits deprecation warnings #24

Description

@ayalash

From python documentation:

Deprecated since version 3.8: Old classes ast.Num, ast.Str, ast.Bytes, ast.NameConstant and ast.Ellipsis are still available, but they will be removed in future Python releases. In the meantime, instantiating them will return an instance of a different class.

https://docs.python.org/3/library/ast.html#node-classes

Emitted warnings:

ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions