On 5/14/21 2:34 PM, Eric V. Smith wrote: > My understanding of the proposal is that OP is only talking about <literal-integer> / <literal-integer> becomes a > Fraction. So: > > x=1 > x/2 # unchanged, still yields a float. > > It's only literals like "1/2" that would become Fraction(1,2).
Ah -- which means we end up with fractions and fraction math which results in memory and time issues, since most fraction/fraction operations return, unsurprisingly, fractions.
-- ~Ethan~ _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/LO2S4OYQA3PMDBYSPAOLZI4Y36FFGGSH/ Code of Conduct: http://python.org/psf/codeofconduct/