-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Python 3 compatibility issues #23659
Comments
Well I still need to migrate the code from node-gyp, so it should fix allot. |
Closing because: $ flake8 configure.py --count --select=E901,E999,F821,F822,F823 --show-source --statistics
0
$ flake8 /tools/**/*.* --count --select=E901,E999,F821,F822,F823 --show-source --statistics
0
$ 🎉 |
Oh... Was that python2 -m flake8 ... or python3 -m flake8 ... Add a . in front of the path so that it reads...
|
|
Despite by unawareness regarding the tool, I can understand what the python3 option output means but what does the python2's mean in the context of this issue? |
It means that not all of these issues are about Python 3 compatibility. |
Thanks for explaining! Could it be related to bad implementations then? I have a platonic love for Python since I like the language but I'm not allowed to play around much with it at work. Is it okay to try and submit a couple patches to fix these incompatibilities? Edit: Are there any specific test suites I should run after making these changes to ensure I didn't brake any code? I know these issues might be spread out throughout the tools directory but maybe there are a couple suites I should target when making these changes. |
Locally you can run make lint-py but first you should manually add the change that is in #24802 to avoid flake8 raising some false errors in your local .git directory. |
I am delighted to say that it is now time to close this issue in favor of ##24954. Thanks massively for all your guidance and patience on this effort. Much work is still required to complete the port. See: #24956 |
Thank you for patience and effort. Seeing you do all this work has been great! |
@refack @eirnym
flake8 testing of https://github.com/nodejs/node on Python 3.7.0
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
The text was updated successfully, but these errors were encountered: