This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients facundobatista, gvanrossum, jyasskin, mark.dickinson, rhettinger
Date 2008-02-04.00:35:59
SpamBayes Score 0.4261274
Marked as misclassified No
Message-id <1202085360.97.0.794291570643.issue1682@psf.upfronthosting.co.za>
In-reply-to
Content
I would rather drop it than see that mess.

FWIW, there is a difference.  Rational(Decimal(...)) takes place 
without reference to a decimal.Context and is always lossless.  

In contrast, Decimal(Rational(...)) is context sensitive (the division 
is subject to rounding and precision limits) and is typically lossy as 
would be the case with Decimal(Rational(1, 3)) which like most 
rationals cannot be exactly represented in Decimal.
History
Date User Action Args
2008-02-04 00:36:01rhettingersetspambayes_score: 0.426127 -> 0.4261274
recipients: + rhettinger, gvanrossum, facundobatista, mark.dickinson, jyasskin
2008-02-04 00:36:01rhettingersetspambayes_score: 0.426127 -> 0.426127
messageid: <1202085360.97.0.794291570643.issue1682@psf.upfronthosting.co.za>
2008-02-04 00:36:00rhettingerlinkissue1682 messages
2008-02-04 00:35:59rhettingercreate