I'm -1 on this change. Don't get me wrong I'd love having this change in Python. *But* we use float not decimal.Decimal right? Why not? Because of memory and precisions. Decimal takes more memory than float and also 0.33333333333333 (float) is accurate and very easy to deal with rather than 0.33333333121211211200134333434343 (Decimal). I believe the same reason applies to fractions.Fraction. It's available to users if they don't want to lose precision. But including it as a built-in I don't think is a good idea. And it will also be a "non-pep-reading-users-concerning-change" or simply "beginners concerning change" since all previous versions of Python displayed floats and now it's displaying Fractions! Some code may be hoping to find type() == float and to it's surprise it's not that!
Thanking you, With Regards, Shreyan Avigyan _______________________________________________ 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/ZI46MHPDELBNFERXMYS4QJFMA2Z26OJC/ Code of Conduct: http://python.org/psf/codeofconduct/