[issue28716] Fractions instantiation revisited

Jeroen Demeyer report at bugs.python.org
Mon Aug 5 05:04:19 EDT 2019


Jeroen Demeyer <jeroen.k.demeyer at gmail.com> added the comment:

See https://discuss.python.org/t/pep-3141-ratio-instead-of-numerator-denominator/2037/24?u=jdemeyer for a proposal to define a new dunder __ratio__ (instead of as_integer_ratio) for this.

----------
nosy: +jdemeyer

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


More information about the Python-bugs-list mailing list