Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-44273: Improve syntax error message for assigning to "..." #26477

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jun 1, 2021

Use "ellipsis" instead of "Ellipsis" to eliminate confusion with builtin variable Ellipsis.

https://bugs.python.org/issue44273

Use "ellipsis" instead of "Ellipsis" to eliminate confusion with
builtin variable Ellipsis.
@serhiy-storchaka serhiy-storchaka force-pushed the syntax-error-assign-to-ellipsis branch from 9b6a50a to b29b566 Compare June 1, 2021 10:42
@serhiy-storchaka serhiy-storchaka changed the title bpo-44278: Improve syntax error message for assigning to "..." bpo-44273: Improve syntax error message for assigning to "..." Jun 1, 2021
@pablogsal
Copy link
Member

Thanks a lot @serhiy-storchaka! ✨

@pablogsal pablogsal added needs backport to 3.10 only security fixes and removed needs backport to 3.10 only security fixes labels Jun 1, 2021
pablogsal pushed a commit to pablogsal/cpython that referenced this pull request Jun 1, 2021
…pythonGH-26477)

Use "ellipsis" instead of "Ellipsis" in syntax error messages to eliminate confusion with built-in variable Ellipsis.
(cherry picked from commit 39dd141)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-26478 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jun 1, 2021
pablogsal added a commit that referenced this pull request Jun 3, 2021
…GH-26477) (GH-26478)

Use "ellipsis" instead of "Ellipsis" in syntax error messages to eliminate confusion with built-in variable Ellipsis.
(cherry picked from commit 39dd141)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants