Emmanuel Arias <[email protected]> added the comment:
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.
----------
nosy: +eamanu
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue24053>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com