Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-63143: Fix parsing mutually exclusive arguments in argparse#124307
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-63143: Fix parsing mutually exclusive arguments in argparse#124307
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Arguments with the value identical to the default value (e.g. booleans,small integers, empty or 1-character strings) are no longer considered"not present".
It seems that this issue is very similar to issue#109990 (that issue is to ignore existing optional parameters), but its PR has not been reviewed for a long time. |
3094cd1 intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…ythonGH-124307)Arguments with the value identical to the default value (e.g. booleans,small integers, empty or 1-character strings) are no longer considered"not present".(cherry picked from commit3094cd1)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-124418 is a backport of this pull request to the3.13 branch. |
…ythonGH-124307)Arguments with the value identical to the default value (e.g. booleans,small integers, empty or 1-character strings) are no longer considered"not present".(cherry picked from commit3094cd1)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-124419 is a backport of this pull request to the3.12 branch. |
…GH-124307) (GH-124419)Arguments with the value identical to the default value (e.g. booleans,small integers, empty or 1-character strings) are no longer considered"not present".(cherry picked from commit3094cd1)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…GH-124307) (GH-124418)Arguments with the value identical to the default value (e.g. booleans,small integers, empty or 1-character strings) are no longer considered"not present".(cherry picked from commit3094cd1)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
Arguments with the value identical to the default value (e.g. booleans, small integers, empty or 1-character strings) are no longer considered "not present".