New submission from Matthieu Dartiailh <m.dartia...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue47212>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to