Skip to content
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

[3.13] gh-125355: Rewrite parse_intermixed_args() in argparse (GH-125356) #125834

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 22, 2024

  • The parser no longer changes temporarily during parsing.
  • Default values are not processed twice.
  • Required mutually exclusive groups containing positional arguments are
    now supported.
  • The missing arguments report now includes the names of all required
    optional and positional arguments.
  • Unknown options can be intermixed with positional arguments in
    parse_known_intermixed_args().
    (cherry picked from commit 759a54d)

Co-authored-by: Serhiy Storchaka [email protected]

…H-125356)

* The parser no longer changes temporarily during parsing.
* Default values are not processed twice.
* Required mutually exclusive groups containing positional arguments are
  now supported.
* The missing arguments report now includes the names of all required
  optional and positional arguments.
* Unknown options can be intermixed with positional arguments in
  parse_known_intermixed_args().
(cherry picked from commit 759a54d)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka merged commit 1fe63b1 into python:3.13 Oct 22, 2024
38 checks passed
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.

2 participants