[issue44278] Improve syntax error message for assigning to "..."

2021-06-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Assigning to Ellipsis should be the same as assigning to __debug__ ___ Python tracker

[issue44278] Improve syntax error message for assigning to "..."

2021-06-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44278] Improve syntax error message for assigning to "..."

2021-06-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +25071 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26477 ___ Python tracker

[issue44278] Improve syntax error message for assigning to "..."

2021-06-01 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I think this is a duplicate of issue 44273. -- nosy: +BTaskaya ___ Python tracker ___ ___

[issue44278] Improve syntax error message for assigning to "..."

2021-06-01 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Some users can be confused by syntax error message for assigning to ellipsis [1]: >>> ... = 1 File "", line 1 ... = 1 ^^^ SyntaxError: cannot assign to Ellipsis here. Maybe you meant '==' instead of '='? because Ellipsis is a name of a