[issue28716] Fractions instantiation revisited

Eric Wieser report at bugs.python.org
Tue Mar 13 10:44:28 EDT 2018


Eric Wieser <wieser.eric+pybug at gmail.com> added the comment:

> Are you suggesting that _if_ they were to implement `as_integer_ratio` at some point in the future, then they'd become compatible with `Fraction`

Yes, exactly. Conversely, there's little gain in implementing it _until_ `Fraction` supports calling it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28716>
_______________________________________


More information about the Python-bugs-list mailing list