Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.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.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.06; 'debugging': 0.07; 'initialize': 0.07; 'arrays': 0.09; 'debugging.': 0.09; 'cc:addr:python-list': 0.11; 'array.': 0.16; 'cc:name:python list': 0.16; 'hex': 0.16; 'nan': 0.16; 'memory': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; '>>>>': 0.31; 'subject:end': 0.31; 'something': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'useful': 0.36; 'should': 0.36; 'list': 0.37; "you're": 0.61; 'kind': 0.63; 'real': 0.63; 'occur': 0.65; 'distinctive': 0.84; 'technique': 0.93; 'washington': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tUX0YzaYSXLHL9WLXuuZQ81nZhybg6K0M33fK+90FWc=; b=RZp24BDiOv8edkiTE+wMw3GAQsr3/NF6ku23mLHU2AeOwu9ti8R1HzW3yFiw8qrhl6 45iuZuYXCTtDrRqV8nna4vQ24anywRqgPKVjflLcVUCIjPvtr57wAs71LHXlsBZwmMqH mjISg48b98tCXE2dGzIyKJsEBzxiUwOX0uhj6Woaey66/uLGnJ0narBZkmSwAIVo9Q0/ cnQyIkdxdOPycJoWANg/z3hfadEGp2YHXS+OXsBWPRI/bFsg77VE3r/1TsV2tCu78I4Z /+vag1CJLnGalqKb8ZUsTT/Jw+645yVZyZ/ZUlMF2kYMzGKP3CT3wvwY3+SMqOlvwhY3 gLzg== MIME-Version: 1.0 X-Received: by 10.181.13.173 with SMTP id ez13mr3239597wid.49.1382725566902; Fri, 25 Oct 2013 11:26:06 -0700 (PDT) In-Reply-To: <526A81A4.4040100@nedbatchelder.com> 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> Date: Fri, 25 Oct 2013 11:26:06 -0700 Subject: Re: Python Front-end to GCC From: Mark Janssen To: Ned Batchelder Content-Type: text/plain; charset=ISO-8859-1 Cc: Python List 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382725574 news.xs4all.nl 15925 [2001:888:2000:d::a6]:40561 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57542 >>>> 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. -- MarkJ Tacoma, Washington