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.10] bpo-46080: fix argparse help generation exception in edge case (GH-30111) #30730

Merged
merged 1 commit into from
Jan 20, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 20, 2022

Fix an uncaught exception during help text generation when
argparse.BooleanOptionalAction is used with default=argparse.SUPPRESS
and help is specified.
(cherry picked from commit 9e87c0e)

Co-authored-by: Felix Fontein felix@fontein.de

https://bugs.python.org/issue46080

…nGH-30111)

Fix an uncaught exception during help text generation when
argparse.BooleanOptionalAction is used with default=argparse.SUPPRESS
and help is specified.
(cherry picked from commit 9e87c0e)

Co-authored-by: Felix Fontein <felix@fontein.de>
@miss-islington
Copy link
Contributor Author

@felixfontein and @taleinat: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@felixfontein and @taleinat: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit e5edc8d into python:3.10 Jan 20, 2022
@miss-islington miss-islington deleted the backport-9e87c0e-3.10 branch January 20, 2022 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants