Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #86566 > unrolled thread

Re: Python Worst Practices

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2015-02-27 08:02 +0000
Last post2015-02-27 08:02 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python Worst Practices Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-27 08:02 +0000

#86566 — Re: Python Worst Practices

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2015-02-27 08:02 +0000
SubjectRe: Python Worst Practices
Message-ID<mailman.19304.1425024200.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web