]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-81691: Fix handling of multiple "--" (double dashes) in argparse (GH-124233)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 20 Sep 2024 06:20:47 +0000 (09:20 +0300)
committerGitHub <noreply@github.com>
Fri, 20 Sep 2024 06:20:47 +0000 (09:20 +0300)
commitaae126748ff3d442fdbcd07933855ffd7ae6f59c
tree8ebb2614ae1c1e4a1e61aef07a32db69861de606
parent7a2d77c903f29d7ea08b870b8e3fa2130f667a59
gh-81691: Fix handling of multiple "--" (double dashes) in argparse (GH-124233)

Only the first one has now been removed, all subsequent ones are now
taken literally.
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]