SIGN IN SIGN UP

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

* 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
8ea6cc14a5178b456278c35f63b0859c6b5f4f64
Parent: 21a63b9
Committed by GitHub <noreply@github.com> on 6/28/2024, 2:52:07 PM