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 FFY00
Recipients DiddiLeija, FFY00, asmeurer, eric.araujo, gregory.p.smith, jack__d, p-ganssle, pablogsal, steven.daprano, terry.reedy, theacodes, tlalexander, veky
Date 2021-09-24.22:18:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632521906.91.0.179396608406.issue44603@roundup.psfhosted.org>
In-reply-to
Content
One technical argument on why it would be beneficial to have custom handling like this for exit is that exit is a site-builtin, not a builtin.

$ python -S
Python 3.9.7 (default, Aug 31 2021, 13:28:12)
[GCC 11.1.0] on linux
>>> exit()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'exit' is not defined
>>> import sys
>>> sys.exit()
History
Date User Action Args
2021-09-24 22:18:26FFY00setrecipients: + FFY00, terry.reedy, gregory.p.smith, eric.araujo, steven.daprano, veky, p-ganssle, pablogsal, asmeurer, theacodes, jack__d, tlalexander, DiddiLeija
2021-09-24 22:18:26FFY00setmessageid: <1632521906.91.0.179396608406.issue44603@roundup.psfhosted.org>
2021-09-24 22:18:26FFY00linkissue44603 messages
2021-09-24 22:18:26FFY00create