Message332526
| 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:23 | eamanu | set | recipients:
+ eamanu, mark.dickinson, belopolsky, pitrou, scoder, rbcollins, skrah, berker.peksag, martin.panter, serhiy.storchaka, edmundselliot@gmail.com |
| 2018年12月26日 02:15:21 | eamanu | set | messageid: <1545790521.87.0.712150888896.issue24053@roundup.psfhosted.org> |
| 2018年12月26日 02:15:21 | eamanu | link | issue24053 messages |
| 2018年12月26日 02:15:21 | eamanu | create |
|