New submission from Raymond Hettinger <raymond.hettin...@gmail.com>:
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). ---------- components: Library (Lib) keywords: easy messages: 349378 nosy: lisroach, mark.dickinson, rhettinger priority: high severity: normal status: open title: as_integer_ratio() missing from fractions.Fraction() type: enhancement versions: Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37819> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com