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 mark.dickinson
Recipients belopolsky, mark.dickinson
Date 2010-06-08.21:10:29
SpamBayes Score 0.031123232
Marked as misclassified No
Message-id <1276031431.84.0.685201384686.issue8947@psf.upfronthosting.co.za>
In-reply-to
Content
This seems like a reasonable request to me;  I'd like to see a little bit of convergence between the float and Decimal APIs.

One difference between the two types that's worth noting is that the float.as_integer_ratio() method can never take a ridiculous amount of time or memory, whereas Decimal.as_integer_ratio() could:  e.g., consider Decimal('1e999999999').as_integer_ratio().  But I don't really see that as a problem.
History
Date User Action Args
2010-06-08 21:10:31mark.dickinsonsetrecipients: + mark.dickinson, belopolsky
2010-06-08 21:10:31mark.dickinsonsetmessageid: <1276031431.84.0.685201384686.issue8947@psf.upfronthosting.co.za>
2010-06-08 21:10:29mark.dickinsonlinkissue8947 messages
2010-06-08 21:10:29mark.dickinsoncreate