Skip to content

Conversation

@tmblweed
Copy link
Contributor

@tmblweed tmblweed commented Jul 18, 2019

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

@tmblweed tmblweed changed the title BPO -16970: Adding error message for invalid args bpo -16970: Adding error message for invalid args Jul 18, 2019
@tmblweed tmblweed changed the title bpo -16970: Adding error message for invalid args bpo -16970:Adding error message for invalid args Jul 19, 2019
@tmblweed tmblweed changed the title bpo -16970:Adding error message for invalid args bpo-16970:Adding error message for invalid args Jul 19, 2019
Copy link
Contributor

@mangrisano mangrisano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@gvanrossum gvanrossum changed the title bpo-16970:Adding error message for invalid args bpo-16970: Adding error message for invalid args Jul 31, 2019
@gvanrossum gvanrossum self-requested a review July 31, 2019 21:58
@gvanrossum
Copy link
Member

@gvanrossum Please review.

Copy link
Member

@gvanrossum gvanrossum left a 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!

@gvanrossum
Copy link
Member

I'll wait ~24 hours to see if other core devs want to chime in, then I'll merge it.

@miss-islington miss-islington merged commit 4b3e975 into python:master Aug 2, 2019
@miss-islington
Copy link
Contributor

Thanks @tmblweed for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-15074 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 2, 2019
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]>
@miss-islington
Copy link
Contributor

Sorry, @tmblweed, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 4b3e97592376d5f8a3b75192b399a2da1be642cb 3.7

@miss-islington miss-islington self-assigned this Aug 2, 2019
miss-islington added a commit that referenced this pull request Aug 2, 2019
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]>
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
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
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
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
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
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
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.

6 participants