Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

I guess the docs by manually mean that ArgumentError will be raised when 
exit_on_error is False that can be handled. By default with exit_on_error being 
True self.error() which raises SystemExit and catching SystemExit can mask 
other errors. This was added in bpo-9938 with GH-15362. There is also a typo in 
the docs that it should have used enabled instead of enable in "the feature can 
be enable by setting exit_on_error to False"

----------
nosy: +paul.j3, rhettinger, xtreak
versions: +Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41255>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to