Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Random832 Newsgroups: comp.lang.python Subject: Re: Clean Singleton Docstrings Date: Sat, 16 Jul 2016 14:04:32 -0400 Lines: 11 Message-ID: References: <7046c74e-e5ea-4dde-8847-8c556756a563@googlegroups.com> <5789B601.9000604@stoneleaf.us> <9d2a0934-bf26-42a8-9bb2-e4e75b2d2ad3@googlegroups.com> <1468652038.1427719.667878897.460955C0@webmail.messagingengine.com> <1468692272.2410242.668163177.52CA7567@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de bI8m+bpkgrmdhHXFvT8LFAVq6kTCgJvea29cCqlMV9rg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'cc:addr :python-list': 0.09; 'received:internal': 0.09; 'semantics': 0.09; 'stored': 0.10; '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; 'subject:Singleton': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'fraction': 0.22; 'cc:no real name:2**0': 0.22; '(or': 0.23; 'sat,': 0.23; 'header:In-Reply- To:1': 0.24; 'chris': 0.26; 'decimal': 0.29; 'point': 0.33; 'class': 0.33; 'should': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'received:66': 0.38; 'format': 0.39; 'header:Message-Id:1': 0.61; 'different': 0.63; 'jul': 0.72; 'power': 0.72; 'choose.': 0.91 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc :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=Nfbc2MnP/kzvjun7VOekiVAfTWw=; b=FLdmvN yB8XPVtNQunWNKA8L0mg+6/sHAJM6uwe0+OL112rg/MnnnXharv8FFbDK6W1HZyt E+W0pHLlAN6Jh1wWzjEVhNEmekTJ70kc7256Bmok05dNZNSlG6eTM9mZRqhQBasb qH7Z3X433zpEzaym6GOsQNKRiKkGN2vhdDkqU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=Nfbc2MnP/kzvjun 7VOekiVAfTWw=; b=iTlLHwEphFFg/1no958seTCiI30lJFbhyNn+D5J/l2rkfWL 8aZywqTnWODo0b0LG174GjXAMI3IHWsxDi/RolqkgTlObXnjhvmM5VyPGfWHXYvW z0qjK9vnMbx4FmNDuqhCen/KhhYNIslDGp3Kfswn/kchCUeTaGfUhuuLkrL4= X-Sasl-Enc: FunaGTOsgHruo1pmVRfxWN+Ztu+PDRW8KD7BcXx7po1e 1468692272 X-Mailer: MessagingEngine.com Webmail Interface - ajax-bf4e2c8f 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: <1468692272.2410242.668163177.52CA7567@webmail.messagingengine.com> X-Mailman-Original-References: <7046c74e-e5ea-4dde-8847-8c556756a563@googlegroups.com> <5789B601.9000604@stoneleaf.us> <9d2a0934-bf26-42a8-9bb2-e4e75b2d2ad3@googlegroups.com> <1468652038.1427719.667878897.460955C0@webmail.messagingengine.com> Xref: csiph.com comp.lang.python:111519 On Sat, Jul 16, 2016, at 03:27, Chris Angelico wrote: > Will an "Exact" non-integer be stored as Decimal or > Fraction? How do you know? They have vastly different semantics, and > you should be able to choose. Er, the point is for them to _not_ have different semantics. A decimal storage format would simply be an optimization for a fraction whose denominator is a power of 10 (or of 2 and 5) The semantics of the current Decimal class are those of an inexact number.