-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-121018: ensure ArgumentParser.parse_args with exit_on_error=False raises instead of exiting when given unrecognized arguments #121019
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
… 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 < 8000 a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/miss-islington/cpython/commit/0654336dd5138aec04e3017e15ccbb90a44e053d/hovercard" href="https://github.com/miss-islington/cpython/commit/0654336dd5138aec04e3017e15ccbb90a44e053d">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)
Uh oh!
There was an error while loading. Please reload this page.