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 martin.panter
Recipients eric.smith, ezio.melotti, mark.dickinson, martin.panter, rhettinger, serhiy.storchaka, skrah, tuomas.suutari
Date 2015-03-08.10:11:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425809505.34.0.867325022385.issue23602@psf.upfronthosting.co.za>
In-reply-to
Content
I’ve never actually used the Fraction class, but I doubt its behaviour should depend on whatever settings are in the current decimal context. Maybe you can extract the precision out of the format string, and base the internal decimal object on that.
History
Date User Action Args
2015-03-08 10:11:45martin.pantersetrecipients: + martin.panter, rhettinger, mark.dickinson, eric.smith, ezio.melotti, skrah, serhiy.storchaka, tuomas.suutari
2015-03-08 10:11:45martin.pantersetmessageid: <1425809505.34.0.867325022385.issue23602@psf.upfronthosting.co.za>
2015-03-08 10:11:45martin.panterlinkissue23602 messages
2015-03-08 10:11:45martin.pantercreate