Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: for / while else doesn't make sense Date: Sun, 22 May 2016 14:17:16 -0400 Lines: 8 Message-ID: References: <573EC62F.4090401@lucidity.plus.com> <573f9322$0$1616$c3e8da3$5496439d@news.astraweb.com> <87d1oe2l7z.fsf@elektro.pacujo.net> <1463937924.1827012.615232721.2982AD4D@webmail.messagingengine.com> <1463941036.1836057.615267705.392C51E6@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de qhtxkEHfRNxKczyK15pMBAEN9VPGGBcx7TLeGDYnVI+Q== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; '22,': 0.09; 'received:internal': 0.09; 'subject:while': 0.09; "can't.": 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:10.202.2.212': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'set)': 0.16; 'subject:make': 0.16; 'wrote:': 0.16; 'detect': 0.18; 'header:In-Reply-To:1': 0.24; '(which': 0.26; 'fine': 0.28; 'unified': 0.29; "we're": 0.30; 'lets': 0.33; 'could': 0.35; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'to:addr:python.org': 0.40; 'where': 0.40; 'some': 0.40; 'skip:u 10': 0.61; 'header:Message-Id:1': 0.61; 'subject: / ': 0.63; 'soon.': 0.73; 'float,': 0.84; 'subject:else': 0.84; 'subject:sense': 0.84 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=K9d/d0CSkSbkri9lCgIV49+wZ7I=; b=i9y3Lb h28pZSdTvPxAZs1Cz+rneKGlaLhccIuv3xWqjDZIQ/Bq9/4GBUzazVI9lKXum1r/ UWLXwOV172TXaCMFqWzDVdKUifNmG4i+Fth/vJJfEIBAgsli59ROhYgEtnkTJrX+ ETLu+0H9oCTQk1Ld5qNCeClsBNkE4skYl7F4o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=K9d/d0CSkSbkri9 lCgIV49+wZ7I=; b=eqc0r4h6Naq1mJVzNVTQ+JvDM8IiEwrEvMOQkZAhPJp8Pd2 tg+HwWNES5t7gHdiwHjAgVfrACmS8zksoas3GfwL8W7BQS+BrKhIFxmGStc4MMkM IQTy9aoS1aZQT/mCa5/0TcN5Qrv04rVS8sJ0HZo0X+RNSQ4Z98FgSm7i+MEI= X-Sasl-Enc: 6V4n6NMx0aC7A8Uh9ih+1uRX6uJWu0Wd5D0ZLlmA2T9w 1463941036 X-Mailer: MessagingEngine.com Webmail Interface - ajax-37b57599 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <1463941036.1836057.615267705.392C51E6@webmail.messagingengine.com> X-Mailman-Original-References: <573EC62F.4090401@lucidity.plus.com> <573f9322$0$1616$c3e8da3$5496439d@news.astraweb.com> <87d1oe2l7z.fsf@elektro.pacujo.net> <1463937924.1827012.615232721.2982AD4D@webmail.messagingengine.com> Xref: csiph.com comp.lang.python:108957 On Sun, May 22, 2016, at 14:06, Jon Ribbens wrote: > This would be true if we had some Grand Unified Lossless Number Type. > Unfortunately, we don't, and we're not likely to any time soon. Scheme manages fine without one. It uses lossless types where it can, and lets you detect that an "inexact" number (which could be float, or could be any of the other types with an inexact flag set) was used where it can't.