Skip to content

eng/scripts: print() is a function in Python 3#2011

Merged
slozier merged 2 commits intoIronLanguages:mainfrom
cclauss:python3-in-eng-scripts
Mar 12, 2026
Merged

eng/scripts: print() is a function in Python 3#2011
slozier merged 2 commits intoIronLanguages:mainfrom
cclauss:python3-in-eng-scripts

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Mar 11, 2026

print() is a function in Python 3.

% ruff check --output-format=concise | grep invalid-syntax
% uvx --python=3.12 --from=future futurize --stage1 --write <files with SyntaxErrors>

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

Copy link
Contributor

@slozier slozier left a comment

Choose a reason for hiding this comment

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

Thanks! I guess most of these are probably good candidates for outright deletion, but in the meantime it doesn't hurt to fix them up!

@slozier slozier merged commit b6b159d into IronLanguages:main Mar 12, 2026
13 of 26 checks passed
@cclauss cclauss deleted the python3-in-eng-scripts branch March 12, 2026 06:31
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