-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
replace optparse to argparse #1591
Conversation
@KiYugadgeter would you mind rebasing this please so we can discuss it more cleanly? Sorry for the hassle. It probably belongs in https://github.com/refack/GYP but let's see it clearly here first. |
Sorry for I am beginner of git and github. Should I rebase this branch to node-gyp master branch? |
@KiYugadgeter yes, the master branch of this repository has changed a lot since your pull request, so you need to rebase to catch up. Hopefully there's not too much to resolve in the process. |
* add_option with add_argument for argparse * change methods methods of RegeneratableOptionParser to match argparse function name
355e787
to
57b594d
Compare
I have pushed new pull request that caught up. |
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.
Nice!
* add_option with add_argument for argparse * change methods methods of RegeneratableOptionParser to match argparse function name PR-URL: #1591 Reviewed-By: cclauss <cclauss@me.com>
landed in 82f129d |
Checklist
npm install && npm test
passesDescription of change
optparse have been deprecated since Python3.2.
also argparse work on both version (2.x and 3.x).
some methods of RegeneratableOptionParser have changed to match argparse function name.