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 -- email@example.com
To unsubscribe send an email to firstname.lastname@example.org
Message archived at https://email@example.com/message/BN5ZRN5IWERVBZFUSPBD4RJKQ7FGO5HB/
Code of Conduct: http://python.org/psf/codeofconduct/
Christopher Barker, PhD
Python Language Consulting
- Scientific Software Development
- Desktop GUI and Web Development
- wxPython, numpy, scipy, Cython