[issue47212] Minor issues in reported Syntax errors

2022-04-05 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue47212] Minor issues in reported Syntax errors

2022-04-05 Thread miss-islington
miss-islington added the comment: New changeset 94609e3192f15636c760a48c4c1c2c236fac3217 by Matthieu Dartiailh in branch '3.10': [3.10] Backport bpo-47212 (GH-32302) to Python 3.10 (GH-32334) https://github.com/python/cpython/commit/94609e3192f15636c760a48c4c1c2c236fac3217 -- nosy:

[issue47212] Minor issues in reported Syntax errors

2022-04-05 Thread Matthieu Dartiailh
Change by Matthieu Dartiailh : -- pull_requests: +30391 pull_request: https://github.com/python/cpython/pull/32334 ___ Python tracker ___

[issue47212] Minor issues in reported Syntax errors

2022-04-05 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset aa0f056a00c4bcaef83d729e042359ddae903382 by Matthieu Dartiailh in branch 'main': bpo-47212: Improve error messages for un-parenthesized generator expressions (GH-32302)

[issue47212] Minor issues in reported Syntax errors

2022-04-04 Thread Matthieu Dartiailh
Change by Matthieu Dartiailh : -- keywords: +patch pull_requests: +30364 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32302 ___ Python tracker

[issue47212] Minor issues in reported Syntax errors

2022-04-04 Thread Matthieu Dartiailh
New submission from Matthieu Dartiailh : Hi, While working on Pegen I noticed that: - the invalid_arguments rule would non point to the full generator expression in its second and fifth alternatives - when reporting an indentation error after a bare except, the error is actually a SyntaxError