Message235684
From https://docs.python.org/3/library/exceptions.html#SystemExit
Also, this exception derives directly from BaseException and not Exception, since it is not technically an error.
and
The exception inherits from BaseException instead of Exception so that it is not accidentally caught by code that catches Exception. This allows the exception to properly propagate up and cause the interpreter to exit.
Here is a patch to remove the duplicate content and document the code attribute properly. |
|
Date |
User |
Action |
Args |
2015-02-10 12:29:15 | berker.peksag | set | recipients:
+ berker.peksag, docs@python |
2015-02-10 12:29:15 | berker.peksag | set | messageid: <1423571355.15.0.388380550498.issue23432@psf.upfronthosting.co.za> |
2015-02-10 12:29:15 | berker.peksag | link | issue23432 messages |
2015-02-10 12:29:15 | berker.peksag | create | |
|