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 veky
Recipients aroberge, docs@python, gtitze, iritkatriel, sobolevn, veky
Date 2022-01-08.23:29:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641684595.08.0.844314369188.issue46291@roundup.psfhosted.org>
In-reply-to
Content
Let me just say that I use `raise SystemExit` all the time. Beats `from sys import exit`, weird error messages about having to type parentheses, and surely beats "oh, am I on Windows so Ctrl+Z, or on Linux so Ctrl+D". :-]

I also use `raise KeyboardInterrupt` sometimes in games, to test whether Ctrl+C handling works as expected at precise moments in the game (beats having to guess the millisecond in which to press Ctrl+C:).
History
Date User Action Args
2022-01-08 23:29:55vekysetrecipients: + veky, aroberge, docs@python, sobolevn, iritkatriel, gtitze
2022-01-08 23:29:55vekysetmessageid: <1641684595.08.0.844314369188.issue46291@roundup.psfhosted.org>
2022-01-08 23:29:55vekylinkissue46291 messages
2022-01-08 23:29:54vekycreate