On Mon, 4 Apr 2022 at 18:28, Brian McCall
<brian.patrick.mcc...@gmail.com> wrote:
>
> Why don't we allow different libraries to use different, incompatible 
> implementations of integers, floating points, and bool? Standard units are 
> just as immutable as any of these data types.
>

Those three data types are unambiguous, but a more reasonable parallel
would be: Why don't we allow different libraries to use different,
incompatible implementations of numbers?

And we do. There are rationals and decimal floats in the standard
library, and plenty of third party libraries with additional numeric
data types.

And guess what? There have been lots of calls for Decimal literals too :)

So, yup, not that different.

ChrisA
_______________________________________________
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/I7LT3LVYYML2FCQ26TPF4UKTOZSYGGYB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to