[Python-ideas] Fix some special cases in Fractions?

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Aug 30 18:24:32 EDT 2018


Neil Girdhar wrote:
> Powers of other numbers have to keep the same behavior since in general 
> those kinds of expressions don't create rational numbers.

There are infinitely many other rational numbers that *could*
be given the same treatment, though, e.g. (-8) ** (2/3). If
you don't want to include those you'll have to explain your
rationale.

-- 
Greg


More information about the Python-ideas mailing list