Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
AFAICT, no end-user has ever requested this ever. Despite your insistence, we really don't have to clutter the math module with this. We sometimes do have two or three repetitions of logic in the standard library; however, our needs tend to be much different from end-users. Also, we tend to benefit from the loose coupling and not turning every little detail into a published cross-module API. Now that we've propagated the as_integer_ratio() into bool, int, float, Decimal, and Fraction, I propose we stop there. This micro-problem to too small to warrant adding yet more machinery and API creep. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37884> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com