Robert Einhorn added the comment:
Thanks
--
resolution: not a bug ->
status: closed -> open
___
Python tracker
<https://bugs.python.org/issue46485>
___
__
New submission from Robert Einhorn :
This is probably not an error and I may misinterpret the PEP 617, but I don't
know what the ~ PEG operator means in the next rule if there is no alternative:
assignment_expression:
| NAME ':=' ~ expression
And similarly with this rule
New submission from Robert Einhorn :
Definition of invalid_double_starred_kvpairs PEG grammar rule is not found:
https://docs.python.org/3.10/reference/grammar.html
# PEG grammar rule:
dict:
| '{' [double_starred_kvpairs] '}'
| '{' invalid_double_starred_kvpairs
New submission from Robert Einhorn :
https://docs.python.org/3.10/reference/grammar.html
# original grammar rule:
file: [statements] ENDMARKER
# suggested grammar rule:
file: NEWLINE* [statements] ENDMARKER
--
components: Parser
messages: 409524
nosy: RobEin, lys.nikolaou