Skip to content

ast_transformer.py (The internal library still uses node.s, while Python 3.12+ recommends using node.value) #8772

@leesx0907

Description

@leesx0907

This is the prompt I encountered during runtime. I think we might need to update the compatibility of this part to be compatible with the latest Python 3.14.
C:\python.venv\Lib\site-packages\taichi\lang\ast\ast_transformer.py:393: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
format_str = values[0].s

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestSuggest an idea on this project

    Type

    No type

    Projects

    Status

    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions