Alexander Belopolsky added the comment:

>  will confuse inexperienced users when they unexpectedly encounter with 
> sys.exit(sys.EXIT_FAILURE) instead of sys.exit(1).

Are you serious?  I've seen senior programmers who thought that status < 0 
means failure and status >= 0 means success.  Why would anyone who understands 
English would need to know what the numerical value of EXIT_FAILURE is to 
understand that status=EXIT_FAILURE means "failure"?


Not to mention that google returns a pageful of relevant links for 
"EXIT_FAILURE".

----------

_______________________________________
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