On Mon, May 31, 2021 at 4:17 PM Serhiy Storchaka firstname.lastname@example.org 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 -- email@example.com To unsubscribe send an email to firstname.lastname@example.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://email@example.com/message/4K47SC... Code of Conduct: http://python.org/psf/codeofconduct/