homepage

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 Ramchandra Apte, joncle, mark.dickinson, rhettinger, skrah
Date 2012年06月23日.07:36:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340437009.21.0.221040531065.issue15136@psf.upfronthosting.co.za>
In-reply-to
Content
> Something like Fraction.as_decimal(prec=28) would be reasonable.
I'd prefer an implementation of Fraction.__format__. That solves the SO user's need exactly. Note that he/she didn't care about the Decimal type, but only wanted to be able to *print* digits of a Fraction; the __format__ method is the OOWTDI.
History
Date User Action Args
2012年06月23日 07:36:49mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, skrah, joncle, Ramchandra Apte
2012年06月23日 07:36:49mark.dickinsonsetmessageid: <1340437009.21.0.221040531065.issue15136@psf.upfronthosting.co.za>
2012年06月23日 07:36:48mark.dickinsonlinkissue15136 messages
2012年06月23日 07:36:46mark.dickinsoncreate

AltStyle によって変換されたページ (->オリジナル) /