Re: [Python-Dev] Fwd: Change in repr of Decimal in 2.6

2008-07-19 Thread Karen Tracey
On Sat, Jul 19, 2008 at 10:52 PM, Terry Reedy <[EMAIL PROTECTED]> wrote: > >>> f.clean('1') == Decimal('1') > True > Ah, yes, why didn't I think of that? > > Since 'True' is a keyword, and Guido is *very* reluctant to even add > keywords, let alone change their spelling, I think you can depend

Re: [Python-Dev] Fwd: Change in repr of Decimal in 2.6

2008-07-19 Thread Terry Reedy
Karen Tracey wrote: Yeah, but the testcases are not quite that simple. They're often testing return values from functions and as much verifying that the type is correct as the value, so I think I'd have to change stuff like: >>> f.clean('1') Decimal("1") to: >>> x = f.clean('1') >>> p

[Python-Dev] Fwd: Change in repr of Decimal in 2.6

2008-07-18 Thread Karen Tracey
Meant to copy list on reply, sorry. -- Forwarded message -- From: Karen Tracey <[EMAIL PROTECTED]> Date: Fri, Jul 18, 2008 at 11:48 PM Subject: Re: [Python-Dev] Change in repr of Decimal in 2.6 To: Raymond Hettinger <[EMAIL PROTECTED]> On Fri, Jul 18, 2008 at 11:19 PM, Raymond He