-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
gh-121018: ensure ArgumentParser.parse_args with exit_on_error=False raises instead of exiting when given unrecognized arguments #121019
Conversation
blhsing
commented
Jun 26, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: argparse.ArgumentParser.parses_args does not honor exit_on_error=False when given unrecognized arguments #121018
… unrecognized args
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.
Thanks @blhsing for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks @blhsing for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…False raises instead of exiting when given unrecognized arguments (pythonGH-121019) (cherry picked from commit 0654336) Co-authored-by: blhsing <blhsing@gmail.com>
…False raises instead of exiting when given unrecognized arguments (pythonGH-121019) (cherry picked from commit 0654336) Co-authored-by: blhsing <blhsing@gmail.com>
GH-121031 is a backport of this pull request to the 3.12 branch. |
GH-121032 is a backport of this pull request to the 3.13 branch. |
…False raises instead of exiting when given unrecognized arguments (pythonGH-121019)
…False raises instead of exiting when given unrecognized arguments (pythonGH-121019)
…False raises instead of exiting when given unrecognized arguments (pythonGH-121019)