31.05.21 22:24, André Roberge пише:
> 
> 
> On Mon, May 31, 2021 at 4:17 PM Serhiy Storchaka
> <storch...@gmail.com
> <mailto:storch...@gmail.com>> wrote:
>     31.05.21 17:37, André Roberge пише:
>     > For consistency, `Ellipsis` (the name) should **always** refer to the
>     > same object that `...` refers to, so that both could not be assigned a
>     > new value.
> 
>     Making Ellipsis a keyword will break ast.Ellipsis (and maybe some
>     third-party libraries).
> 
> I realized that after my initial post which is why I subsequently
> suggested that its repr should perhaps be "Ellipsis (...)".

It does not help. If Ellipsis is a keyword, it is not possible to have
ast.Ellipsis. Not mentioned that it would be pretty confusing by itself
-- why you need to write Ellipsis(), but not None() or True()?

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

Reply via email to