On Mon, May 31, 2021 at 4:17 PM Serhiy Storchaka <storchaka@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 (...)".  But, I admit, it is a rather obscure corner case that few, if any beginners would encounter and be confused by the error message.


Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@python.org
Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/4K47SCZYGHDPV4UUXNUQXSAK374STS43/
Code of Conduct: http://python.org/psf/codeofconduct/