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 lisroach, mark.dickinson, rhettinger
Date 2019-08-11.07:01:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
When working on Whatsnew3.8, I noticed that as_integer_ratio() had been added to ints and bools, was already present in floats and Decimals, but was missing from Fractions.  

IIRC, the goal was to make all of these have as a similar API so that x.as_integer_ratio() would work for all types that could support it (not complex numbers).
History
Date User Action Args
2019-08-11 07:01:53rhettingersetrecipients: + rhettinger, mark.dickinson, lisroach
2019-08-11 07:01:53rhettingersetmessageid: <[email protected]>
2019-08-11 07:01:53rhettingerlinkissue37819 messages
2019-08-11 07:01:51rhettingercreate