]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-121018: Ensure ArgumentParser.parse_args with exit_on_error=False raises...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 26 Jun 2024 10:16:19 +0000 (12:16 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2024 10:16:19 +0000 (10:16 +0000)
commit6bc7e2cca546c11e2b807068a4a612d0d902da11
tree374d556e5636337664110c374687daa47e28a676
parentf2b4f517b9a0dbe4d2ebd1e1912615ede46d7aec
[3.13] gh-121018: Ensure ArgumentParser.parse_args with exit_on_error=False raises instead of exiting when given unrecognized arguments (GH-121019) (GH-121032)

(cherry picked from commit 0654336dd5138aec04e3017e15ccbb90a44e053d)

Co-authored-by: blhsing <blhsing@gmail.com>
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2024-06-26-03-04-24.gh-issue-121018.clVSc4.rst [new file with mode: 0644]