Robert Collins added the comment:

@Serhiy, EXIT_FAILURE is used in Python's C code itself (just once admittedly, 
and then we use 0 sometimes for success and sometimes for errors, and then 1 
for errors... aiee.)

FWIW to the extent that folk want to write posix code in Python, I'm all for 
helping them, I find the amount of help this will be to be hard to assess. 
There is some code to adding the constants in documentation and learning 
surface area.

Right now we don't document all the ways Python can interact with exit codes, 
and I suspect thats actually a bigger burden than writing the code to generate 
any given code.

----------
nosy: +rbcollins

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24053>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to