Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Nov 26, 2019

Legacy print statements are syntax errors in Python 3 but print() function works as expected in both Python 2 and Python 3. Discovered via #499 and fixed via

futurize -f libfuturize.fixes.fix_print_with_import -w ./demo/manydigits.py ./demo/pidigits.py ./demo/plotting.py ./demo/taylor.py ./doc/source/plots/buildplots.py

Legacy __print__ statements are syntax errors in Python 3 but __print()__ function works as expected in both Python 2 and Python 3.
@fredrik-johansson fredrik-johansson merged commit 411b74d into mpmath:master Feb 20, 2020
@cclauss cclauss deleted the modernize-Python-2-codes branch February 20, 2020 11:22
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