X Tutup
Skip to content

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

Merged
serhiy-storchaka merged 1 commit intopython:3.13from
miss-islington:backport-759a54d-3.13
Oct 22, 2024
Merged

[3.13] gh-125355: Rewrite parse_intermixed_args() in argparse (GH-125356)#125834
serhiy-storchaka merged 1 commit intopython:3.13from
miss-islington:backport-759a54d-3.13

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 storchaka@gmail.com

…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 <storchaka@gmail.com>
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

X Tutup