SIGN IN SIGN UP

[3.13] gh-121018: Fix more cases of exiting in argparse when exit_on_error=False (GH-121056) (GH-121128)

* parse_intermixed_args() now raises ArgumentError instead of calling
  error() if exit_on_error is false.
* Internal code now always raises ArgumentError instead of calling
  error(). It is then caught at the higher level and error() is called if
  exit_on_error is true.
(cherry picked from commit 81a654a3425eaa05a51342509089533c1f623f1b)
S
Serhiy Storchaka committed
99de20d729c14c9ea062c205b55925305ed797b6
Parent: 394dc93
Committed by GitHub <noreply@github.com> on 6/28/2024, 3:04:44 PM