Skip to content

f3d_parser: fix ast.Str, ast.Num deprecated#708

Open
Dragorn421 wants to merge 1 commit into
Fast-64:mainfrom
Dragorn421:f3d_parser_fix_ast_const_deprecated
Open

f3d_parser: fix ast.Str, ast.Num deprecated#708
Dragorn421 wants to merge 1 commit into
Fast-64:mainfrom
Dragorn421:f3d_parser_fix_ast_const_deprecated

Conversation

@Dragorn421
Copy link
Copy Markdown
Contributor

Those are deprecated since python 3.8 and removed in python 3.14

ast.Constant is used for all constants since python 3.8, and the earliest blender version we support (3.2) ships python 3.10

@Dragorn421 Dragorn421 added codebase Code maintenance/cleanup f3d Has to do with the "f3d" code common to all games labels May 26, 2026
Copy link
Copy Markdown
Collaborator

@Lilaa3 Lilaa3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I was already doing this in my own eval function for SM64 custom commands, I should double check this on my arch system at some point. Thank you!

@Dragorn421 Dragorn421 added the merge soon Will be merged in a few days at most if nothing else comes up label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codebase Code maintenance/cleanup f3d Has to do with the "f3d" code common to all games merge soon Will be merged in a few days at most if nothing else comes up

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants