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.

classification
Title: sys.excepthook documentation doesn't mention that it isn't called for SystemExit
Type: Stage: patch review
Components: Documentation Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: cjwatson, docs@python, iritkatriel
Priority: normal Keywords: patch

Created on 2022-02-15 12:10 by cjwatson, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 31357 open cjwatson, 2022-02-15 12:16
Messages (2)
msg413285 - (view) Author: Colin Watson (cjwatson) * Date: 2022-02-15 12:10
In https://bugs.debian.org/1005803, Matthew Vernon reports that the library documentation for sys.excepthook doesn't mention the detail that that sys.excepthook isn't called for uncaught SystemExit exceptions, although help(sys) does mention this.

(He also mentions that help(sys.excepthook) doesn't mention this.  I think this would make less sense, since that gets the docstring of a particular implementation of an excepthook - on a given system it might not be Python's built-in version, for instance.  But adding information to the main library documentation seems reasonable.)
msg415598 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-03-20 09:50
See also Issue25489.
History
Date User Action Args
2022-04-11 14:59:56adminsetgithub: 90915
2022-03-20 09:50:38iritkatrielsetnosy: + iritkatriel
messages: + msg415598
2022-02-15 12:16:16cjwatsonsetkeywords: + patch
stage: patch review
pull_requests: + pull_request29507
2022-02-15 12:10:41cjwatsoncreate