Skip to content

[3.13] gh-80259: Fix conflict between type and default=SUPPRESS in argparse (GH-124519)#124751

Merged
serhiy-storchaka merged 1 commit intopython:3.13from
miss-islington:backport-9bcadf5-3.13
Oct 7, 2024
Merged

[3.13] gh-80259: Fix conflict between type and default=SUPPRESS in argparse (GH-124519)#124751
serhiy-storchaka merged 1 commit intopython:3.13from
miss-islington:backport-9bcadf5-3.13

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 29, 2024

type() no longer called for SUPPRESS.

This only affects positional arguments with nargs='?'.
(cherry picked from commit 9bcadf5)

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

…parse (pythonGH-124519)

type() no longer called for SUPPRESS.

This only affects positional arguments with nargs='?'.
(cherry picked from commit 9bcadf5)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka merged commit f28906e into python:3.13 Oct 7, 2024
@miss-islington miss-islington deleted the backport-9bcadf5-3.13 branch January 2, 2026 16:58
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