[issue43823] Improve syntax errors for invalid dictionary literals

2021-04-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset b5b98bd8f8c72a9068cf149dbc162c8c95d30057 by Pablo Galindo in branch 'master': bpo-43823: Fix location of one of the errors for invalid dictionary literals (GH-25427) https://github.com/python/cpython/commit/b5b98bd8f8c72a9068cf149dbc162c

[issue43823] Improve syntax errors for invalid dictionary literals

2021-04-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +24160 pull_request: https://github.com/python/cpython/pull/25427 ___ Python tracker ___ ___

[issue43823] Improve syntax errors for invalid dictionary literals

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

[issue43823] Improve syntax errors for invalid dictionary literals

2021-04-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset da7435017430671f86075449ff7bde96fd7700a5 by Pablo Galindo in branch 'master': bpo-43823: Improve syntax errors for invalid dictionary literals (GH-25378) https://github.com/python/cpython/commit/da7435017430671f86075449ff7bde96fd7700a5

[issue43823] Improve syntax errors for invalid dictionary literals

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

[issue43823] Improve syntax errors for invalid dictionary literals

2021-04-12 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Currently the error for invalid dict literals is generic: >>> {1:2, 3:} File "", line 1 {1:2, 3:} ^ SyntaxError: invalid syntax >>> {1:2, 3} File "", line 1 {1:2, 3} ^ SyntaxError: invalid syntax We can have better