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 facundobatista
Recipients facundobatista, gvanrossum, jyasskin, mark.dickinson, rhettinger
Date 2008-02-06.15:23:17
SpamBayes Score 0.1267624
Marked as misclassified No
Message-id <>
I'm +0 to make Decimal(Rational(x,y)) available.

I'd make it something like:

Decimal(R) == Decimal(R.numerator) / Decimal(R.denominator)

Note, as Raymond says, that this division implies the use of the
context. So the following will NOT be true:

R == Rational(Decimal(R))
Date User Action Args
2008-02-06 15:23:19facundobatistasetspambayes_score: 0.126762 -> 0.1267624
recipients: + facundobatista, gvanrossum, rhettinger, mark.dickinson, jyasskin
2008-02-06 15:23:18facundobatistasetspambayes_score: 0.126762 -> 0.126762
messageid: <>
2008-02-06 15:23:17facundobatistalinkissue1682 messages
2008-02-06 15:23:17facundobatistacreate