On Fri, Sep 11, 2020 at 3:09 AM Random832 <random832@fastmail.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"

 This is out of the box and might be considered insane, but what about:

>>> INF#
INF#
>>> INF # this is a comment as usual
NameError: INF

But I suppose this would be considered a breaking change, since the text "INF#" probably exists in code somewhere.

---
Ricky.

"I've never met a Kentucky man who wasn't either thinking about going home or actually going home." - Happy Chandler