Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'subject:Python': 0.06; 'context': 0.07; 'debugging': 0.07; 'initialize': 0.07; 'see.': 0.07; 'arrays': 0.09; 'debugging.': 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; 'tismer': 0.09; 'url:activestate': 0.09; 'python': 0.11; 'assume': 0.14; 'abbreviated': 0.16; 'array.': 0.16; "didn't,": 0.16; 'hex': 0.16; 'janssen': 0.16; 'nan': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'passing': 0.19; '>>>': 0.22; 'memory': 0.22; 'programming': 0.22; 'header :User-Agent:1': 0.23; 'certainly': 0.24; 'second': 0.26; 'values': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'url:code': 0.29; "i'm": 0.30; 'gives': 0.31; '>>>>': 0.31; 'subject:end': 0.31; 'text': 0.33; 'something': 0.35; 'done.': 0.35; 'objects': 0.35; 'but': 0.35; 'really': 0.36; 'chairman': 0.36; 'curious': 0.36; 'described': 0.36; 'explains': 0.36; 'doing': 0.36; 'useful': 0.36; 'should': 0.36; 'list': 0.37; 'clear': 0.37; 'christian': 0.38; 'to:addr:python-list': 0.38; 'expect': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'digital': 0.61; 'world.': 0.61; "you're": 0.61; 'kind': 0.63; 'real': 0.63; 'occur': 0.65; 'talking': 0.65; 'request.': 0.70; 'computers': 0.72; 'distinctive': 0.84; 'received:2': 0.84; 'technique': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: Python Front-end to GCC Date: Fri, 25 Oct 2013 20:02:00 +0100 References: <4012031f-5334-4be8-a673-e0d8c8917fb2@googlegroups.com> <5264dbbe$0$30000$c3e8da3$5496439d@news.astraweb.com> <5265bba8$0$29981$c3e8da3$5496439d@news.astraweb.com> <526668e5$0$29981$c3e8da3$5496439d@news.astraweb.com> <52669852$0$29981$c3e8da3$5496439d@news.astraweb.com> <5266aa80$0$29981$c3e8da3$5496439d@news.astraweb.com> <5266b496$0$29981$c3e8da3$5496439d@news.astraweb.com> <526A81A4.4040100@nedbatchelder.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-2-98-201-160.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 In-Reply-To: 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: , Newsgroups: comp.lang.python Message-ID: Lines: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382727741 news.xs4all.nl 15953 [2001:888:2000:d::a6]:55392 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57547 On 25/10/2013 19:45, Mark Janssen wrote: >>>>>>> OTOH why in particular would you want to initialise them with zeros? I >>>>>>> often initialise arrays to nan which is useful for debugging. >>>>> >>>>> Is this some kind of joke? What has this list become? >>>> >>>> It's a useful debugging technique to initialize memory to distinctive >>>> values that should never occur in real data. >>> >>> If you're doing this, you're doing something wrong. Please give me >>> the hex value for NaN so I can initialize with my array. >> >> It is clear that you know as much about debugging as you do about objects >> and message passing [...] can see why the >> BDFL described you as an embarrassment, and if he didn't, he certainly >> should have done. > > Clearly the python list has been taken over by TheKooks. Notice he > did not respond to the request. Since we are talking about digital > computers (with digital memory), I'm really curious what the hex value > for NaN is to initialize my arrays.... > > All hail chairman Meow. Dismissed. > Reinstating http://code.activestate.com/lists/python-ideas/19908/ where you're described as a quack, which I assume in this context makes you an expert on duck typing, which should obviously be abbreviated to ducking. As for the hex value for Nan who really gives a toss? The whole point is that you initialise to something that you do not expect to see. Do you not have a text book that explains this concept? -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence