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

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.

-CHB



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


-- 
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
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/C47U7YAHI6DGSEM52RCB6WGOLWUEZHXP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to