This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients pablogsal, serhiy.storchaka
Date 2021-06-01.10:36:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622543814.93.0.384857928409.issue44278@roundup.psfhosted.org>
In-reply-to
Content
Some users can be confused by syntax error message for assigning to ellipsis [1]:

>>> ... = 1
  File "<stdin>", line 1
    ... = 1
    ^^^
SyntaxError: cannot assign to Ellipsis here. Maybe you meant '==' instead of '='?

because Ellipsis is a name of a builtin variable Ellipsis, and it is possible to assign to variable named Ellipsis.

>>> Ellipsis = 1
>>> Ellipsis
1

I think that using lowercase spelling of "ellipsis" will eliminate confusion.

[1] https://mail.python.org/archives/list/python-ideas@python.org/thread/KDQ3OHALLXVZJIGPC4BMPVS2XH3VFPJV/
History
Date User Action Args
2021-06-01 10:36:54serhiy.storchakasetrecipients: + serhiy.storchaka, pablogsal
2021-06-01 10:36:54serhiy.storchakasetmessageid: <1622543814.93.0.384857928409.issue44278@roundup.psfhosted.org>
2021-06-01 10:36:54serhiy.storchakalinkissue44278 messages
2021-06-01 10:36:54serhiy.storchakacreate