Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86566
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'true,': 0.05; 'subject:Python': 0.06; 'odd': 0.07; 'false.': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'language.': 0.14; '+even': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'unix,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'feb': 0.22; 'shell': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'defined': 0.27; 'header:X-Complaints-To:1': 0.27; 'header :In-Reply-To:1': 0.27; 'unix': 0.29; 'probably': 0.32; 'know.': 0.32; 'but': 0.35; 'there': 0.35; 'false': 0.36; 'to:addr:python- list': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'even': 0.60; 'mentioned': 0.61; 'success': 0.61; 'our': 0.64; 'success,': 0.65; 'charset:windows-1252': 0.65; 'to,': 0.72; 'miss': 0.74; '2015': 0.84; 'safer': 0.84; 'subject:Practices': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
| Subject | Re: Python Worst Practices |
| Date | Fri, 27 Feb 2015 08:02:52 +0000 |
| References | <mclca6$iie$1@ger.gmane.org> <CAPTjJmppMhBuLy=LMC=ycN0RYE9Jp8BVZbdSeqBZupd_7Nwxfw@mail.gmail.com> <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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | host-92-22-83-1.as13285.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
| In-Reply-To | <c2ivealf3i9p5vis48qma511qkh5e3fria@4ax.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.19304.1425024200.18130.python-list@python.org> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1425024200 news.xs4all.nl 2925 [2001:888:2000:d::a6]:40612 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:86566 |
Show key headers only | View raw
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