(original) (raw)
[From nobody Tue Apr 10 20:26:47 2007 Return-Path: facundobatista@gmail.com Received: from mr05.lnh.mail.rcn.net (EHLO mr05.lnh.mail.rcn.net) ([207.172.157.25]) by ms09.lnh.mail.rcn.net (MOS 3.7.5a-GA FastPath queued) with ESMTP id BEU54106; Tue, 10 Apr 2007 13:31:56 -0400 (EDT) Received: from mx09.lnh.mail.rcn.net (mx09.lnh.mail.rcn.net [207.172.157.59]) by mr05.lnh.mail.rcn.net (MOS 3.8.3-GA) with ESMTP id MZT44495; Tue, 10 Apr 2007 13:31:56 -0400 (EDT) Received: from wr-out-0506.google.com ([64.233.184.237]) by mx09.lnh.mail.rcn.net with ESMTP; 10 Apr 2007 13:31:54 -0400 Received: by wr-out-0506.google.com with SMTP id 71so1261438wri for python@rcn.com; Tue, 10 Apr 2007 10:31:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EUNwHo2/msCcJE76zQk4Fqmv7iSxEQ8ZOWR0t+VFOusonV99k9C4fsSdZxjNEiCHwoAC61cvLRCDKcJdK8mpr3rBx0UOdQ6wzb1drtDn4HxWNdPNEvM923L7jlLH3LD/TwiJDNXmRBFcYDBzjWXDNtfNVK/1u1GsAIQ48n1Cnu0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fku0HtmeUEM3Lsodna1/Ec02UzCNjo8O2GLsXjp5jtKJe0UQSTmxlLTwVsqiAZBHY2oSxy4ZpNLYKT7t4J603CHWPQzg8H1HSomYZyRRDEglAfrWrgF2Au0Sy6TznZC0m1OJXbedebXmD2UaQswqIMMvQF5AAIwvpz4qdkf9fvE= Received: by 10.114.113.1 with SMTP id l1mr2879563wac.1176226314283; Tue, 10 Apr 2007 10:31:54 -0700 (PDT) Received: by 10.114.93.5 with HTTP; Tue, 10 Apr 2007 10:31:53 -0700 (PDT) Message-ID: e04bdf310704101031p1a21bc04h25c1dd464b7ec20c@mail.gmail.com Date: Tue, 10 Apr 2007 14:31:53 -0300 From: "Facundo Batista" facundobatista@gmail.com To: python@rcn.com Subject: Re: [Python-checkins] r54732 - python/trunk/Lib/decimal.py Cc: "facundo.batista" python-checkins@python.org In-Reply-To: 20070410120300.BEU16324@ms09.lnh.mail.rcn.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: 20070410120300.BEU16324@ms09.lnh.mail.rcn.net X-Junkmail-Status: score=10/50, host=mr05.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090206.461BCA0B.0102,ss=1,fgs=0, ip=64.233.184.237, so=2006-12-09 10:45:40, dmn=5.3.10/2007-02-21 2007/4/10, Raymond Hettinger python@rcn.com: > I don't think patches like this are a good idea. For almost > zero benefit, we've lost the clean info in "svn ann" and lost > having the code in Py2.6 exactly match Py2.5 and Py2.4 > (so it will now be more difficult to backport and validate > real bug fixes). Well. This is the first step in "me started working on decimal again". The Decimal spec changed: it has new operations, but also changed the behaviour of some already-present operations (right now I'm pulling my hair because of a corner case of rounding that must behave different in quantize). What I don't know is: these changes will be considered as "bugs" and backported to <2.6, or it will be considered as little changes that will join the bigger changes in 2.6? If the former, I agree with you that this change should be reversed (note that I didn't realize these losses at its moment, but everybody learns, ;). What do you think? > When the exceptions were changed to new-style, I hope there > was a speed-up, that there is no change in semantics, and > that the code still runs under Py2.3 as promised in the header. It changed from "ValueError, 'foo'" to "ValueError('foo')". Don't remember when this was introduced in the language, though (didn't find it overlooking the "What's new" docs...). Thank you! -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ ]