8000 gh-126068: Fix exceptions in the argparse module by serhiy-storchaka · Pull Request #126069 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-126068: Fix exceptions in the argparse module #126069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert NEWS changes.
  • Loading branch information
serhiy-storchaka committed Oct 30, 2024
commit 27964f792bb0a6bac8d163f8b28b5f260ebd5d4a
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Fix exceptions in the :mod:`argparse` module so that only error messages for
:exc:`ArgumentError` and :exc:`ArgumentTypeError` are now translated.
:exc:`ArgumentError` is now only used for command line errors, not for logical
ArgumentError and ArgumentTypeError are now translated.
ArgumentError is now only used for command line errors, not for logical
errors in the program.
0