Message373383
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" |
|
Date |
User |
Action |
Args |
2020-07-09 09:05:01 | xtreak | set | recipients:
+ xtreak, rhettinger, paul.j3, mhughes |
2020-07-09 09:05:01 | xtreak | set | messageid: <1594285501.37.0.423339095787.issue41255@roundup.psfhosted.org> |
2020-07-09 09:05:01 | xtreak | link | issue41255 messages |
2020-07-09 09:05:01 | xtreak | create | |
|