]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-81691: Fix handling of multiple "--" (double dashes) in argparse (GH-124233...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 7 Oct 2024 21:12:28 +0000 (23:12 +0200)
committerGitHub <noreply@github.com>
Mon, 7 Oct 2024 21:12:28 +0000 (00:12 +0300)
commit63870162f4d80359025762aec802d46ab0ecdb6b
treeeb5bd8dcb850db1aff3fb249cbdeb1da6d2dbfdc
parent6fe746d702bfeeafbde1e9df2b1b5e061808fbb5
[3.13] gh-81691: Fix handling of multiple "--" (double dashes) in argparse (GH-124233) (GH-124266)

Only the first one has now been removed, all subsequent ones are now
taken literally.
(cherry picked from commit aae126748ff3d442fdbcd07933855ffd7ae6f59c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2024-09-19-10-36-18.gh-issue-81691.Hyhp_U.rst [new file with mode: 0644]