On 27/02/2015 01:31, Dennis Lee Bieber wrote:
On Thu, 26 Feb 2015 20:10:28 +0000, Simon Ward <simon+pyt...@bleah.co.uk>
declaimed the following:
0 = success and non-zero = failure is the meme established, rather than 0 =
true, non-zero = false.
It's not just used by UNIX, and is not necessarily defined by the shell either
(bash was mentioned elsewhere in the thread). There is probably a system that
pre-dates UNIX that I uses/used this too, but I don't know.
I miss VMS...
Odd => true, even => false
Odd -> success, +even -> warning, -even -> error (odd may have been
success vs info>
Me to, Very Much Safer :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list