Skip to content

Invalid mapping patterns give confusing SyntaxErrors #88534

Closed
@brandtbucher

Description

@brandtbucher
BPO 44368
Nosy @lysnikolaou, @pablogsal, @miss-islington, @brandtbucher
PRs
  • bpo-44368: Ensure we don't raise incorrect custom syntax errors with soft keywords #26630
  • [3.10] bpo-44368: Ensure we don't raise incorrect custom syntax errors with soft keywords (GH-26630) #26631
  • bpo-44368: Improve syntax errors with invalid as pattern targets #26632
  • [3.10] bpo-44368: Improve syntax errors with invalid as pattern targets (GH-26632) #26792
  • 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 = None
    created_at = <Date 2021-06-09.19:47:35.477>
    labels = ['interpreter-core', 'type-bug', '3.11']
    title = 'Invalid mapping patterns give confusing SyntaxErrors'
    updated_at = <Date 2021-06-18.21:16:02.181>
    user = 'https://github.com/brandtbucher'

    bugs.python.org fields:

    activity = <Date 2021-06-18.21:16:02.181>
    actor = 'pablogsal'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Parser']
    creation = <Date 2021-06-09.19:47:35.477>
    creator = 'brandtbucher'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44368
    keywords = ['patch']
    message_count = 20.0
    messages = ['395453', '395454', '395458', '395460', '395461', '395462', '395467', '395469', '395470', '395473', '395477', '395478', '395479', '395481', '395482', '395485', '395486', '395487', '395584', '396092']
    nosy_count = 4.0
    nosy_names = ['lys.nikolaou', 'pablogsal', 'miss-islington', 'brandtbucher']
    pr_nums = ['26630', '26631', '26632', '26792']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44368'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions