-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
GH-75949: Fix argparse dropping '|' in mutually exclusive groups on line wrap #142312
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-75949: Fix argparse dropping '|' in mutually exclusive groups on line wrap #142312
Conversation
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.
seems good @savannahostrowski
serhiy-storchaka
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. 👍
There is a larger issue when mutually exclusive groups are mixed with other arguments, but that case does not work even without wrapping.
|
Thanks @savannahostrowski for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…s on line wrap (pythonGH-142312) (cherry picked from commit 5be3405) Co-authored-by: Savannah Ostrowski <savannah@python.org>
…s on line wrap (pythonGH-142312) (cherry picked from commit 5be3405) Co-authored-by: Savannah Ostrowski <savannah@python.org>
|
GH-142347 is a backport of this pull request to the 3.14 branch. |
|
GH-142348 is a backport of this pull request to the 3.13 branch. |
Uh oh!
There was an error while loading. Please reload this page.