Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86566
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Subject | Re: Python Worst Practices |
| Date | 2015-02-27 08:02 +0000 |
| References | (2 earlier) <85bnkh5z96.fsf@benfinney.id.au> <CAPTjJmrySN-tpcyXON4v_Ux0E961DYZqc5kF116sTLp_-RetqQ@mail.gmail.com> <85zj814jmb.fsf@benfinney.id.au> <1103e6a0-2183-4641-bf98-2927806c2172@email.android.com> <c2ivealf3i9p5vis48qma511qkh5e3fria@4ax.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.19304.1425024200.18130.python-list@python.org> (permalink) |
On 27/02/2015 01:31, Dennis Lee Bieber wrote: > On Thu, 26 Feb 2015 20:10:28 +0000, Simon Ward <simon+python@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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python Worst Practices Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-27 08:02 +0000
csiph-web