[New-bugs-announce] [issue47212] Minor issues in reported Syntax errors

Matthieu Dartiailh report at bugs.python.org
Mon Apr 4 07:01:55 EDT 2022


New submission from Matthieu Dartiailh <m.dartiailh at gmail.com>:

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

I will open a PR shortly to address both since the changes are quite minimal IMO.

----------
components: Parser
messages: 416662
nosy: lys.nikolaou, mdartiailh, pablogsal
priority: normal
severity: normal
status: open
title: Minor issues in reported Syntax errors
type: behavior
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47212>
_______________________________________


More information about the New-bugs-announce mailing list