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 eamanu
Recipients belopolsky, berker.peksag, eamanu, edmundselliot@gmail.com, mark.dickinson, martin.panter, pitrou, rbcollins, scoder, serhiy.storchaka, skrah
Date 2018-12-26.02:15:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545790521.87.0.712150888896.issue24053@roundup.psfhosted.org>
In-reply-to
Content
Hi Elliot!

> It seems like a no-brainer to add these, they reduce magic number use and improve the accessibility of Python to people coming from C. I would love to add these if everyone is OK with it.

Sound great. But IMO I think that this can be solved doing:

    EXIT_FAILURE = 1
    EXIT_SUCCESS = 0

    sys.exit(EXIT_SUCCES)

And what is the difference between EX_OK and EXIT_SUCCESS? both values are 0. 

BTW, I think this is a good improve and more for C coder. 

I recommend you mmake the PR.
History
Date User Action Args
2018-12-26 02:15:23eamanusetrecipients: + eamanu, mark.dickinson, belopolsky, pitrou, scoder, rbcollins, skrah, berker.peksag, martin.panter, serhiy.storchaka, edmundselliot@gmail.com
2018-12-26 02:15:21eamanusetmessageid: <1545790521.87.0.712150888896.issue24053@roundup.psfhosted.org>
2018-12-26 02:15:21eamanulinkissue24053 messages
2018-12-26 02:15:21eamanucreate