Skip to content

Conversation

cclauss
Copy link

@cclauss cclauss commented Jul 27, 2025

print() is a function in Python 3.

% ruff check Scripts | grep SyntaxError
% uvx --python=3.12 --from=future futurize --stage1 --write <files with SyntaxErrors>

https://docs.astral.sh/ruff
https://github.com/PythonCharmers/python-future

@cclauss cclauss force-pushed the futurize-stage-1 branch from 2d1fdcf to da860ea Compare July 27, 2025 16:35
@tpwrules
Copy link

Do note that Mission Planner uses IronPython rather than CPython. Python 3 is still a very new thing for that AFAIK.

@cclauss
Copy link
Author

cclauss commented Jul 29, 2025

These are “safe” changes that should not break Py2 compatibility but of course that requires testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants