Skip to content

[3.13] gh-58573: Fix conflicts between abbreviated long options in the parent parser and subparsers in argparse (GH-124631) #124760

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

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Sep 29, 2024

Check for ambiguous options if the option is consumed, not when it is parsed.
(cherry picked from commit 3f27153)

… in the parent parser and subparsers in argparse (pythonGH-124631)

Check for ambiguous options if the option is consumed, not when it is
parsed.
(cherry picked from commit 3f27153)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) October 7, 2024 22:01
@serhiy-storchaka serhiy-storchaka merged commit 6925e5b into python:3.13 Oct 7, 2024
36 checks passed
@serhiy-storchaka serhiy-storchaka deleted the backport-3f27153-3.13 branch October 21, 2024 13:40
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.

1 participant