Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.straub-nv.de!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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.057 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'c++,': 0.07; 'def': 0.10; 'language': 0.14; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'wrote:': 0.17; 'subject:problem': 0.22; 'testing': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'wrote': 0.26; "d'aprano": 0.29; 'steven': 0.29; "i'm": 0.29; 'code': 0.31; 'to:addr:python-list': 0.33; 'pm,': 0.35; 'received:org': 0.36; 'michael': 0.36; 'but': 0.36; 'message- id:@gmail.com': 0.36; 'subject:: ': 0.38; 'comment': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'actually,': 0.84; 'blew': 0.84; 'now...': 0.84 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Sat, 02 Feb 2013 21:22:12 -0700 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/10.0.12 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Floating point calculation problem References: <510dbc76$0$29984$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <510dbc76$0$29984$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1359865355 news.xs4all.nl 6919 [2001:888:2000:d::a6]:38027 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38095 On 02/02/2013 06:25 PM, Steven D'Aprano wrote: > Michael Torrie wrote: > >> def squeeze_duck (duck): >> // return the quack >> return duck.squeeze() > > I'm curious, what language were you thinking of when you wrote the comment > using // instead of # ? Oh darn. Blew my cover. I'm beta testing Ranting Rick's wonderful fork, Rrython. Actually, my brain is full of Arduino code right now... which is fun, but C++, yuck.