summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-26 10:16:19 (GMT)
committerGitHub <noreply@github.com>2024-06-26 10:16:19 (GMT)
commit6bc7e2cca546c11e2b807068a4a612d0d902da11 (patch)
tree374d556e5636337664110c374687daa47e28a676 /Misc/NEWS.d
parentf2b4f517b9a0dbe4d2ebd1e1912615ede46d7aec (diff)
downloadcpython-6bc7e2cca546c11e2b807068a4a612d0d902da11.zip
cpython-6bc7e2cca546c11e2b807068a4a612d0d902da11.tar.gz
cpython-6bc7e2cca546c11e2b807068a4a612d0d902da11.tar.bz2
[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>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2024-06-26-03-04-24.gh-issue-121018.clVSc4.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-06-26-03-04-24.gh-issue-121018.clVSc4.rst b/Misc/NEWS.d/next/Library/2024-06-26-03-04-24.gh-issue-121018.clVSc4.rst
new file mode 100644
index 0000000..fdc3c5f
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-06-26-03-04-24.gh-issue-121018.clVSc4.rst
@@ -0,0 +1,2 @@
+Fixed an issue where :meth:`!argparse.ArgumentParser.parses_args` did not honor ``exit_on_error=False`` when given unrecognized arguments.
+Patch by Ben Hsing.