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 jdemeyer
Recipients jdemeyer, mark.dickinson, rhettinger, serhiy.storchaka, steven.daprano
Date 2019-08-20.08:43:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566290607.64.0.498979072335.issue37884@roundup.psfhosted.org>
In-reply-to
Content
> AFAICT, no end-user has ever requested this ever.

What do you mean with "this"?

(A) A public function like math.as_integer_ratio()

(B) Using as_integer_ratio() in the fractions.Fraction() constructor

(C) The optimization of the fractions.Fraction() constructor

For SageMath, (B) would be very useful. See https://discuss.python.org/t/pep-3141-ratio-instead-of-numerator-denominator/2037/24?u=jdemeyer (replace __ratio__ by as_integer_ratio)
History
Date User Action Args
2019-08-20 08:43:27jdemeyersetrecipients: + jdemeyer, rhettinger, mark.dickinson, steven.daprano, serhiy.storchaka
2019-08-20 08:43:27jdemeyersetmessageid: <1566290607.64.0.498979072335.issue37884@roundup.psfhosted.org>
2019-08-20 08:43:27jdemeyerlinkissue37884 messages
2019-08-20 08:43:27jdemeyercreate