This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: grammar rule definition is missing: invalid_double_starred_kvpairs
Type: Stage: resolved
Components: Parser Versions: Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: RobEin, lys.nikolaou, miss-islington, pablogsal
Priority: normal Keywords: patch

Created on 2022-01-02 21:05 by RobEin, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 30341 merged pablogsal, 2022-01-02 21:42
PR 30391 merged miss-islington, 2022-01-04 10:42
PR 30392 merged miss-islington, 2022-01-04 10:42
Messages (5)
msg409525 - (view) Author: Robert Einhorn (RobEin) Date: 2022-01-02 21:05
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 '}'
msg409529 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2022-01-02 21:31
invalid_* rules are not part of the official grammar as they are only used for error reporting. We need to update the peg grammar highlighter to exclude it
msg409665 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2022-01-04 10:42
New changeset e09d94a140a5f6903017da9b6ac752ba041d69da by Pablo Galindo Salgado in branch 'main':
bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar docs (GH-30341)
https://github.com/python/cpython/commit/e09d94a140a5f6903017da9b6ac752ba041d69da
msg409669 - (view) Author: miss-islington (miss-islington) Date: 2022-01-04 11:03
New changeset 743394f2811796b30b618d4cb6dd582715f8638c by Miss Islington (bot) in branch '3.10':
bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar docs (GH-30341)
https://github.com/python/cpython/commit/743394f2811796b30b618d4cb6dd582715f8638c
msg410953 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2022-01-19 14:45
New changeset 353674f289076eecf848d7a26871cce529b89a98 by Miss Islington (bot) in branch '3.9':
bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar docs (GH-30341) (GH-30392)
https://github.com/python/cpython/commit/353674f289076eecf848d7a26871cce529b89a98
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90389
2022-01-19 14:45:59pablogsalsetmessages: + msg410953
2022-01-04 11:03:51miss-islingtonsetmessages: + msg409669
2022-01-04 10:44:32pablogsalsetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2022-01-04 10:42:27miss-islingtonsetpull_requests: + pull_request28601
2022-01-04 10:42:23miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request28600
2022-01-04 10:42:18pablogsalsetmessages: + msg409665
2022-01-02 21:42:04pablogsalsetkeywords: + patch
stage: patch review
pull_requests: + pull_request28553
2022-01-02 21:31:52pablogsalsetmessages: + msg409529
2022-01-02 21:05:46RobEincreate