]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117941: Reject option names starting with "--no-" in argparse.BooleanOptionalActio...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 11 Nov 2024 16:28:30 +0000 (18:28 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Nov 2024 16:28:30 +0000 (18:28 +0200)
commit79805d228440814c0674ab5190ef17f235503d2e
tree8cb9b29278e2638af831f543b6ccbe98fbd43362
parent819830f34a11ecaa3aada174ca8eedeb3f260630
gh-117941: Reject option names starting with "--no-" in argparse.BooleanOptionalAction (GH-125894)

They never worked correctly.
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2024-10-23-20-44-30.gh-issue-117941.Y9jdlW.rst [new file with mode: 0644]