]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109475: Fix support of explicit option value "--" in argparse (GH-114814...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 5 Feb 2024 21:02:00 +0000 (22:02 +0100)
committerGitHub <noreply@github.com>
Mon, 5 Feb 2024 21:02:00 +0000 (21:02 +0000)
commit94ad68264c5d1651b601787fe10a379afe6ee18b
tree0b5da425f6c308209a748b887a86f35de3ffbc2f
parent21f06a22c022f3b620cc3000575ade5226956ef5
[3.12] gh-109475: Fix support of explicit option value "--" in argparse (GH-114814) (GH-115036)

For example "--option=--".
(cherry picked from commit 4aa4f0906df9fc9c6c6f6657f2c521468c6b1688)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2024-01-31-20-07-11.gh-issue-109475.lmTb9S.rst [new file with mode: 0644]