[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 5618c81e139419b4665dc1f1e8a468738546f542 by Pablo Galindo Salgado in branch '3.10': [3.10] bpo-45716: Improve the error message when using True/False/None as keywords in a call (GH-29413). (GH-29428)

[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +27683 pull_request: https://github.com/python/cpython/pull/29428 ___ Python tracker ___

[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-05 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e2d65630f36712dbdbf7711520c985c526a5cc25 by Pablo Galindo Salgado in branch 'main': bpo-45716: Improve the error message when using True/False/None as keywords in a call (GH-29413)

[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-04 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +27665 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29413 ___ Python tracker

[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-04 Thread Andre Roberge
Change by Andre Roberge : -- nosy: +aroberge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-04 Thread Eric V. Smith
Change by Eric V. Smith : -- components: +Parser nosy: +lys.nikolaou, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing

[issue45716] Confusing parsing error message when trying to use True as keyword argument

2021-11-04 Thread Carl Friedrich Bolz-Tereick
New submission from Carl Friedrich Bolz-Tereick : A bit of a nitpick, but the following SyntaxError message is a bit confusing: >>> f(True=1) File "", line 1 f(True=1) ^ SyntaxError: expression cannot contain assignment, perhaps you meant "=="? The problem with that line is