Skip to content

bpo-40862: Raise TypeError when const is given to argparse.BooleanOptionalAction - #20623

Merged
rhettinger merged 2 commits into
python:masterfrom
remilapeyre:bpo-40862
Jun 5, 2020
Merged

bpo-40862: Raise TypeError when const is given to argparse.BooleanOptionalAction#20623
rhettinger merged 2 commits into
python:masterfrom
remilapeyre:bpo-40862

Conversation

@remilapeyre

@remilapeyreremilapeyre commented Jun 4, 2020

Copy link
Copy Markdown

@hauntsaninjahauntsaninja left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, lgtm apart from comment nit

Comment threadLib/test/test_argparse.py Outdated
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
@rhettingerrhettinger self-assigned this Jun 5, 2020
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @remilapeyre for the PR, and @rhettinger for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-20664 is a backport of this pull request to the 3.9 branch.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@remilapeyre@miss-islington@bedevere-bot@rhettinger@hauntsaninja@the-knights-who-say-ni