El lun, 31 may 2021 a las 12:40, David Mertz (<me...@gnosis.cx>) escribió:

> I think making 'Ellipsis' a reserved word is too much.  The analogy with
> non-reserved words like `int`, `str`, `map`, `print`, and so on, illustrate
> this, I think.  I.e. redefining those is likely to cause bad things to
> happen, but we're consenting adults, and in the end they are just names.
>
> However, I think improving the repr() of the Ellipsis object itself to
> remind users of the connection with its special literal `...` is a great
> idea.
>
>
> Why isn't `repr(...)` just `...`?
_______________________________________________
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/GONLS3TPYQWX5E2CW3D563B4CDLMXBQR/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to