gh-92248: Deprecate `type`, `choices`, `metavar` parameters of `argparse.BooleanOptionalAction` by sobolevn · Pull Request #103678 · python/cpython · GitHub

github.com

Tin mới

sobolevn:issue-92248

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

argparse.BooleanOptionalAction accepts and silently discards choices, metavar, and type arguments #92248

gh-92248: Deprecate `type`, `chocies`, `metavar` parameters of `argparse.BooleanOptionalAction`

View reviewed changes

Update Misc/NEWS.d/next/Library/2023-04-22-12-30-10.gh-issue-92248.Nc…

Merge branch 'main' into issue-92248

View reviewed changes

Apply suggestions from code review

Merge branch 'main' into issue-92248

View reviewed changes

Merge branch 'main' into issue-92248

Merge branch 'main' into gsallam/main

Argparse: certain action types dont accept metavar, but should? #109792

feat: allow to disable the memory array fudge snakemake/snakemake-executor-plugin-slurm#482