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 joncle
Recipients Ramchandra Apte, joncle, mark.dickinson, rhettinger, skrah
Date 2012-06-22.16:45:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340383534.42.0.023447626891.issue15136@psf.upfronthosting.co.za>
In-reply-to
Content
The more I think about this - the shades of grey kick in.

D.from_fraction(F or creatable F) 

Then it would be 'reasonable to assume' for a F.to_decimal() to exist.

Possibly with an optional context argument.

Then, what happens if I do D('2.45') * F(24 / 19)...

I'll leave it to the experts, but have noticed Raymond has ideas for this, but not yet commented?
History
Date User Action Args
2012-06-22 16:45:34jonclesetrecipients: + joncle, rhettinger, mark.dickinson, skrah, Ramchandra Apte
2012-06-22 16:45:34jonclesetmessageid: <1340383534.42.0.023447626891.issue15136@psf.upfronthosting.co.za>
2012-06-22 16:45:33jonclelinkissue15136 messages
2012-06-22 16:45:33jonclecreate