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 serhiy-storchaka:syntax-error-assign-to-ellipsis branch from 9b6a50a to b29b566 Jun 1, 2021
@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 pablogsal merged commit 39dd141 into python:main Jun 1, 2021
11 checks passed
11 checks passed
@github-actions
Check for source changes
Details
@github-actions
Check if generated files are up to date
Details
@github-actions
Windows (x86)
Details
@github-actions
Windows (x64)
Details
@github-actions
macOS
Details
@github-actions
Ubuntu
Details
@github-actions
Ubuntu SSL tests with OpenSSL
Details
Azure Pipelines PR #20210601.14 succeeded
Details
@travis-ci
Travis CI - Pull Request Build Passed
Details
@bedevere-bot
bedevere/issue-number Issue number 44273 found
Details
@bedevere-bot
bedevere/news "skip news" label found
@pablogsal
Copy link
Member

@pablogsal pablogsal commented Jun 1, 2021

Thanks a lot @serhiy-storchaka!

pablogsal added 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

@bedevere-bot bedevere-bot commented Jun 1, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants