This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients berker.peksag, docs@python
Date 2015-02-10.12:29:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1423571355.15.0.388380550498.issue23432@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-02-10 12:29:15berker.peksagsetrecipients: + berker.peksag, docs@python
2015-02-10 12:29:15berker.peksagsetmessageid: <1423571355.15.0.388380550498.issue23432@psf.upfronthosting.co.za>
2015-02-10 12:29:15berker.peksaglinkissue23432 messages
2015-02-10 12:29:15berker.peksagcreate