-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update check_doc.py, clang-format-diff.py, zmq_sub.py, optimize-pngs.py print function syntax #15
Conversation
If you could add an edit into the credit section of each file as MarcoFalke has done most the previous work here and either way is sufficient imo. |
Well, I've satisfied myself that the change is necessary, as in Python2
|
In order to do this in a concise and standardised way I'm trying to find an example of adding a minor editor in the credits. It doesn't seem to have been done before, except for in release notes. check-doc.py seems to be the exception. Or do you mean in the copyright line? Like adding a 2023 copyright line for "Dingocoin developers"? Isn't it a bit much just for editing the print function to meet requirements for Python3 vs Python2? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The print functions have been updated to include the required (by Python3) parentheses.
This appears to have become especially important now that default Python has shifted from 2.7 to 3.x. My macOS I see, has recently been updated to run Python3.10 by default, whereas for some years had been running 2.x when invoking python without specifying the version.
In future PRs and commit messages, please be a bit more concise. "Fix code" is very vague. A good PR and commit message here would be, Update python print syntax. |
Tested ACK The In |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved.
Once @farsider350 recommendations have been added and approval is given by @farsider350 this will be merged. |
We will merge this, add credits to release notes and in future PR's can be made to develop branch. |
Updated python print functions