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 Mike Hommey
Recipients Melebius, Mike Hommey, chrahunt, glyph, gwk, kakshay, pablogsal, r.david.murray, torsten
Date 2021-08-19.09:07:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629364044.11.0.781787530922.issue27035@roundup.psfhosted.org>
In-reply-to
Content
> I think we should change the documentation to expand the parenthetical " (unless SystemExit is raised)" to a complete explanation of that special case.

That would not be enough, since the case for other exceptions would still be ambiguous, as the described behavior ("After all exit handlers have had a chance to run the last exception to be raised is re-raised.") would imply the exit code would be altered, like when exceptions are raised in normal context. In 2.7 the only exception that _did_ change the exit code was SystemExit.
History
Date User Action Args
2021-08-19 09:07:24Mike Hommeysetrecipients: + Mike Hommey, glyph, r.david.murray, torsten, gwk, Melebius, pablogsal, chrahunt, kakshay
2021-08-19 09:07:24Mike Hommeysetmessageid: <1629364044.11.0.781787530922.issue27035@roundup.psfhosted.org>
2021-08-19 09:07:24Mike Hommeylinkissue27035 messages
2021-08-19 09:07:23Mike Hommeycreate