Guido van Rossum <[email protected]> added the comment:

+1.

On Tue, Mar 13, 2018, 16:26 Tim Peters <[email protected]> wrote:

>
> Tim Peters <[email protected]> added the comment:
>
> Thanks, Guido!  I figured I was missing something :-)
>
> It looks like `numbers.Rational` _is_ a "for real" base class of
> `fractions.Fraction`, though, so I'm in favor of supplying a default
> implementation of `.as_integer_ratio()` in `numbers.Rational` anyway.  That
> would make a clear statement of intent, and would do the right thing for
> `Fraction` instances.
>
> ----------
>
> _______________________________________
> Python tracker <[email protected]>
> <https://bugs.python.org/issue33073>
> _______________________________________
>

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue33073>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to