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 <1202311398.08.0.199018510317.issue1682@psf.upfronthosting.co.za>
In-reply-to
Content
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))
History
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: <1202311398.08.0.199018510317.issue1682@psf.upfronthosting.co.za>
2008-02-06 15:23:17facundobatistalinkissue1682 messages
2008-02-06 15:23:17facundobatistacreate