Message410123
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:). |
|
Date |
User |
Action |
Args |
2022-01-08 23:29:55 | veky | set | recipients:
+ veky, aroberge, docs@python, sobolevn, iritkatriel, gtitze |
2022-01-08 23:29:55 | veky | set | messageid: <1641684595.08.0.844314369188.issue46291@roundup.psfhosted.org> |
2022-01-08 23:29:55 | veky | link | issue46291 messages |
2022-01-08 23:29:54 | veky | create | |
|