]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:44 +0000 (12:16 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2024 10:16:44 +0000 (10:16 +0000)
commit4868d1bab14a93c9a2f11b7b3b1815900fa71c51
tree8913ab755c9ce75c4af9801aab2e3b4e5c186b42
parent6de373d7508ef621854a08a4bc770431b46f8f82
[3.12] gh-121018: Ensure ArgumentParser.parse_args with exit_on_error=False raises instead of exiting when given unrecognized arguments (GH-121019) (GH-121031)

(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]