On Fri, Sep 11, 2020 at 12:09 AM Random832 email@example.com wrote:
On Fri, Sep 4, 2020, at 12:45, Cade Brown wrote:
I am positing that Python should contain a constant (similar to True, False, None), called Infinity.
What if we created a new syntax [and used it for the repr] that is not currently a valid identifier?
something like "1.INF"
if we were starting from scratch, that would be a good idea, but as the repr has been consistent for quite some timem I dont think we want to change it. And we do want teh names to match the repr
And I'd maybe go with .INF. :-)
Another point is that these are not going to be singletons, like True, False and None -- they are just floats that happen to have particular values.
Python-ideas mailing list -- firstname.lastname@example.org To unsubscribe send an email to email@example.com https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://firstname.lastname@example.org/message/BN5ZRN... Code of Conduct: http://python.org/psf/codeofconduct/