[issue35169] Improve error messages for assignment

2018-11-20 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35169] Improve error messages for assignment

2018-11-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 97f1efb6062188645a470daaa91e3669d739c75f by Serhiy Storchaka in branch 'master': bpo-35169: Improve error messages for forbidden assignments. (GH-10342) https://github.com/python/cpython/commit/97f1efb6062188645a470daaa91e3669d739c75f

[issue35169] Improve error messages for assignment

2018-11-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Benjamin, could you please take a look at this? -- ___ Python tracker ___ ___ Python-bugs-list

[issue35169] Improve error messages for assignment

2018-11-06 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35169] Improve error messages for assignment

2018-11-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9645 stage: -> patch review ___ Python tracker ___ ___

[issue35169] Improve error messages for assignment

2018-11-05 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : This is a follow up of issue34641. >>> f(lambda x: x = 1) File "", line 1 SyntaxError: lambda cannot contain assignment >>> f(x.y = 1) File "", line 1 SyntaxError: keyword can't be an expression The error message "keyword can't be an expression"