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 rhettinger
Recipients eric.araujo, eric.smith, mark.dickinson, rhettinger
Date 2010-04-02.17:06:40
SpamBayes Score 0.00072477385
Marked as misclassified No
Message-id <1270228001.64.0.611081629886.issue8257@psf.upfronthosting.co.za>
In-reply-to
Content
Added the requires decorator as requested.
Committed in r79602.  Will backport to 2.7 this weekend.

And yes, I agree that Fraction(somedecimal) should work too.  It would be weird to have Fraction("1.1") work but not Fraction(Decimal("1.1")).

Mark, I do think we should have decimal+float-->float in 2.7 also.  I don't see any reason to have the two versions diverge on this issue.
History
Date User Action Args
2010-04-02 17:06:41rhettingersetrecipients: + rhettinger, mark.dickinson, eric.smith, eric.araujo
2010-04-02 17:06:41rhettingersetmessageid: <1270228001.64.0.611081629886.issue8257@psf.upfronthosting.co.za>
2010-04-02 17:06:40rhettingerlinkissue8257 messages
2010-04-02 17:06:40rhettingercreate