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 mark.dickinson, rhettinger, serhiy.storchaka, stutzbach
Date 2019-08-11.17:03:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565543008.9.0.764655336916.issue37822@roundup.psfhosted.org>
In-reply-to
Content
-1 for having this spill into the math module.   We're already started down a different path; otherwise, there would have been no need to add the as_integer_ratio method to int/bool.  That was done so that x.as_integer_ratio() would work for all the concrete classes where it made sense.  Right now, the only concrete class that is missing the method is Fractions.  Adding it there is trivial and it doesn't garbage-up the math module with a pass-through function.
History
Date User Action Args
2019-08-11 17:03:28rhettingersetrecipients: + rhettinger, mark.dickinson, stutzbach, serhiy.storchaka
2019-08-11 17:03:28rhettingersetmessageid: <1565543008.9.0.764655336916.issue37822@roundup.psfhosted.org>
2019-08-11 17:03:28rhettingerlinkissue37822 messages
2019-08-11 17:03:28rhettingercreate