Message332526
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. |
|
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 | |
|