Alexander Belopolsky added the comment: > Where are EXIT_FAILURE and EXIT_SUCCESS defined?
In C stdlib: $ grep EXIT_ /usr/include/stdlib.h #define EXIT_FAILURE 1 #define EXIT_SUCCESS 0 > we should probably call them EX_FAILURE and EX_SUCESS to match what's already > there. No. EX_ macros come from a non-standard sysexits.h header. Python stdlib traditionally does not change the spelling of the constants that come from C libraries or standards. Even in the absence of POSIX and C99 standards, I would prefer EXIT_ prefix over EX_ for clarity. "EX" does not clearly mean "exit", it may stand for "exception", "execution", "example" etc. ---------- _______________________________________ 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