I actually think the biggest argument against this idea is exactly the same as why it’s not a major breaking change:
Python assumes, and converts to, floats all over the place. So users need to understand and accommodate the limitations of floats anyway. Having exact fractions in seemingly arbitrary places will not result in more accurate (or precise) results in most cases, but would result in more confusion and more difficult error analysis. -CHB On Mon, May 17, 2021 at 12:56 AM Shreyan Avigyan <pythonshreya...@gmail.com> wrote: > Chris: > > But none of the rest of your statement is an argument against Fraction > literals. > > If we have fractions.Fraction then we must have decimal.Decimal. We always > don't judge by accuracy. There are other factors in motion that are to be > considered. > _______________________________________________ > 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/Y272MZQRK6GQVB2I62XOBB6FXIS3SOXJ/ > Code of Conduct: http://python.org/psf/codeofconduct/ > -- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ 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/UCAE7D2TIBDWVLVRQDD2NL27HQO3L4Y3/ Code of Conduct: http://python.org/psf/codeofconduct/