Author rhettinger
Recipients facundobatista, gvanrossum, jyasskin, mark.dickinson, rhettinger
Date 2008-02-02.21:17:20
SpamBayes Score 0.48309
Marked as misclassified No
Message-id <1201987042.43.0.205292995935.issue1682@psf.upfronthosting.co.za>
In-reply-to
Content
The rational constructor should accept decimals directly.

Rational(Decimal('3.1')) does not suffer the same representation error 
problems as Rational(float('3.1')).  The conversion from decimal is 
lossless and does not depend on the decimal context.  There is no need 
for a separate constructor.
History
Date User Action Args
2008-02-02 21:17:22rhettingersetspambayes_score: 0.48309 -> 0.48309
recipients: + rhettinger, gvanrossum, facundobatista, mark.dickinson, jyasskin
2008-02-02 21:17:22rhettingersetspambayes_score: 0.48309 -> 0.48309
messageid: <1201987042.43.0.205292995935.issue1682@psf.upfronthosting.co.za>
2008-02-02 21:17:21rhettingerlinkissue1682 messages
2008-02-02 21:17:20rhettingercreate