[issue41652] An Advice on Turning Ellipsis into Keyword
Alex
report at bugs.python.org
Thu Aug 27 23:53:22 EDT 2020
New submission from Alex <2423067593 at qq.com>:
In early versions of python, programmers can simply swap True and False by
>>> True, False = False, True
Then True and False and None become keywords so programmers can't change their value.
... is also a keyword, but Ellipsis is not. So the code below is right:
>>> Ellipsis = 1
>>> print(Ellipsis)
1
If Ellipsis become a keyword, this will be better.
----------
components: Interpreter Core
messages: 376018
nosy: Alex-Python-Programmer
priority: normal
severity: normal
status: open
title: An Advice on Turning Ellipsis into Keyword
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41652>
_______________________________________
More information about the Python-bugs-list
mailing list