-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
bpo-16970: Adding error message for invalid args #14844
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
Conversation
mangrisano
left a comment
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.
LGTM.
|
@gvanrossum Please review. |
gvanrossum
left a comment
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.
To be clear, most of this is from the original patch on bpo by Robert Leenders (apparently abandoned due to lack of code review years ago). I find the tests a little over-engineered but not enough so to request changes. Thanks for powering through this, @tmblweed!
|
I'll wait ~24 hours to see if other core devs want to chime in, then I'll merge it. |
|
Thanks @tmblweed for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
|
GH-15074 is a backport of this pull request to the 3.8 branch. |
BPO -16970: Adding error message for invalid args Applied the patch argparse-v2 patch issue 16970, ran patch check and the test suite, test_argparse with 0 errors https://bugs.python.org/issue16970 (cherry picked from commit 4b3e975) Co-authored-by: tmblweed <[email protected]>
|
Sorry, @tmblweed, I could not cleanly backport this to |
BPO -16970: Adding error message for invalid args Applied the patch argparse-v2 patch issue 16970, ran patch check and the test suite, test_argparse with 0 errors https://bugs.python.org/issue16970 (cherry picked from commit 4b3e975) Co-authored-by: tmblweed <[email protected]>
BPO -16970: Adding error message for invalid args Applied the patch argparse-v2 patch issue 16970, ran patch check and the test suite, test_argparse with 0 errors https://bugs.python.org/issue16970
BPO -16970: Adding error message for invalid args Applied the patch argparse-v2 patch issue 16970, ran patch check and the test suite, test_argparse with 0 errors https://bugs.python.org/issue16970
BPO -16970: Adding error message for invalid args Applied the patch argparse-v2 patch issue 16970, ran patch check and the test suite, test_argparse with 0 errors https://bugs.python.org/issue16970
BPO -16970: Adding error message for invalid args
Applied the patch argparse-v2 patch issue 16970, ran patch check and the test suite, test_argparse with 0 errors
https://bugs.python.org/issue16970
Automerge-Triggered-By: @gvanrossum