Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'languages,': 0.04; 'python': 0.09; 'ignoring': 0.09; 'logic': 0.09; 'subject:while': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'programmer': 0.11; 'ignore': 0.13; '(which,': 0.16; 'called,': 0.16; 'chris,': 0.16; 'complained': 0.16; 'considers': 0.16; 'elephant': 0.16; 'heap': 0.16; 'stdlib.': 0.16; 'wrote:': 0.17; 'module,': 0.17; 'feb': 0.19; '(not': 0.20; 'cc:2**0': 0.23; 'mention': 0.23; 'cc:no real name:2**0': 0.24; 'least': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'chris': 0.28; 'complain': 0.29; 'consistency': 0.29; 'maybe': 0.29; 'expect': 0.31; 'johnson': 0.32; 'could': 0.32; 'anyone': 0.33; 'received:google.com': 0.34; 'minimum': 0.34; 'list': 0.35; 'doing': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'really': 0.36; 'but': 0.36; 'modules': 0.36; 'too': 0.36; 'does': 0.37; 'level': 0.37; 'two': 0.37; 'being': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'received:209.85.214': 0.39; 'skip:" 10': 0.40; 'your': 0.60; 'remove': 0.61; 'free': 0.61; 'bring': 0.62; 'world': 0.63; 'news': 0.68; '2013': 0.84; 'offers.': 0.84; 'room.': 0.84; 'belt': 0.91; 'rick': 0.91 X-Received: by 10.49.116.139 with SMTP id jw11mr927598qeb.12.1360585723882; Mon, 11 Feb 2013 04:28:43 -0800 (PST) Newsgroups: comp.lang.python Date: Mon, 11 Feb 2013 04:28:43 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=70.196.110.97; posting-account=h3aEwQoAAACiuqX-oR3gvCVFm8lLHoWj References: <5002a1f9$0$29995$c3e8da3$5496439d@news.astraweb.com> <7b027612-a07e-40f9-8ad2-3e95c5440482@googlegroups.com> <86872ad2-fda0-403b-9f18-d1cb18e41860@t32g2000yqd.googlegroups.com> <50039290$0$29978$c3e8da3$5496439d@news.astraweb.com> <9309333c-13a0-464c-bd94-9c682363b8c9@googlegroups.com> <511516db$0$29969$c3e8da3$5496439d@news.astraweb.com> <62c3e7bb-d023-43b4-b759-f424707fd346@googlegroups.com> <75c82449-773e-4077-a6c9-e9cef08f845f@googlegroups.com> <51fdb504-9969-4bff-b1dc-32e231beecd4@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 70.196.110.97 MIME-Version: 1.0 Subject: Re: Implicit conversion to boolean in if and while statements From: Rick Johnson To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360585727 news.xs4all.nl 6979 [2001:888:2000:d::a6]:55607 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38670 On Saturday, February 9, 2013 11:04:42 PM UTC-6, Chris Angelico wrote: > On Sun, Feb 10, 2013 at 3:54 PM, Rick Johnson wrote: > > Well Chris i have wonderful news for you! Python /does/ > > have "homogenous arrays", and they're called, wait for > > it......... arrays! > That's not a built-in. But you were the one who complained about the > way sum() could be applied to a list that contains a non-integer; > maybe your solution is simply to ignore sum() and work with > array.array? Yes i could, however by doing so i would be ignoring the inconsistent eleph= ant in the room. My crusade is to bring consistency and logic to languages,= and if i have any free time afterwards, to remove multiplicity. There are = two types of people in the world Chris, those that lead and those that foll= ow.=20 > Nice how you can complain about Python for not having something, then > heap scorn on me for not being aware that it's there in the stdlib. > (Which, by the way, I freely admit to being less than fully familiar > with. Even less familiar with what's on PyPI.) Well i would expect anyone who considers himself a python programmer (not t= o mention "pythonista"!) to at minimum be familiar with the stdlib. That do= es not mean he must have attained black belt level kung-fu in /every/ stdli= b module, but he must at least /know/ all the modules names and all types t= hat Python offers. Is that really too much to ask Chris?