Skip to content

grammar rule definition is missing: invalid_double_starred_kvpairs #90389

Closed

Description

@RobEin
mannequin
BPO 46231
Nosy @lysnikolaou, @pablogsal, @miss-islington, @RobEin
PRs
  • bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar docs #30341
  • [3.10] bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar docs (GH-30341) #30391
  • [3.9] bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar docs (GH-30341) #30392
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2022-01-04.10:44:32.303>
    created_at = <Date 2022-01-02.21:05:46.623>
    labels = ['interpreter-core', '3.10']
    title = 'grammar rule definition is missing: invalid_double_starred_kvpairs'
    updated_at = <Date 2022-01-19.14:45:59.539>
    user = 'https://github.com/RobEin'

    bugs.python.org fields:

    activity = <Date 2022-01-19.14:45:59.539>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-04.10:44:32.303>
    closer = 'pablogsal'
    components = ['Parser']
    creation = <Date 2022-01-02.21:05:46.623>
    creator = 'RobEin'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46231
    keywords = ['patch']
    message_count = 5.0
    messages = ['409525', '409529', '409665', '409669', '410953']
    nosy_count = 4.0
    nosy_names = ['lys.nikolaou', 'pablogsal', 'miss-islington', 'RobEin']
    pr_nums = ['30341', '30391', '30392']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue46231'
    versions = ['Python 3.10']

    Activity

    1. RobEin commented on Jan 2, 2022

      RobEinmannequin
      MannequinAuthor

      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 '}'

    2. pablogsal commented on Jan 2, 2022

      @pablogsal
      Member

      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

    3. pablogsal commented on Jan 4, 2022

      @pablogsal
      Member

      New changeset e09d94a by Pablo Galindo Salgado in branch 'main':
      bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar docs (GH-30341)
      e09d94a

    4. miss-islington commented on Jan 4, 2022

      @miss-islington
      Contributor

      New changeset 743394f by Miss Islington (bot) in branch '3.10':
      bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar docs (GH-30341)
      743394f

    5. pablogsal commented on Jan 19, 2022

      @pablogsal
      Member

      New changeset 353674f 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)
      353674f

    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions