Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86558 > unrolled thread
| Started by | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| First post | 2015-02-26 20:31 -0500 |
| Last post | 2015-02-26 20:31 -0500 |
| 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.
Re: Python Worst Practices Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-02-26 20:31 -0500
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Date | 2015-02-26 20:31 -0500 |
| Subject | Re: Python Worst Practices |
| Message-ID | <mailman.19298.1425000674.18130.python-list@python.org> |
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>
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to top | Article view | comp.lang.python
csiph-web