Skip to content

Pattern Matching - duplicate keys in mapping patterns #88755

@PierreQuentel

Description

@PierreQuentel
BPO 44589
Nosy @gvanrossum, @PierreQuentel, @pablogsal, @miss-islington, @brandtbucher, @jdevries3133
PRs
  • bpo-44589: raise SyntaxError when mapping pattern has duplicate key #27131
  • [3.10] bpo-44589: raise a SyntaxError when mapping patterns have duplicate literal keys (GH-27131) #27157
  • 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 = 'https://github.com/brandtbucher'
    closed_at = <Date 2021-07-17.04:20:16.498>
    created_at = <Date 2021-07-09.10:16:54.853>
    labels = ['interpreter-core', 'type-bug', '3.11']
    title = 'Pattern Matching - duplicate keys in mapping patterns'
    updated_at = <Date 2021-07-17.04:20:16.497>
    user = 'https://github.com/PierreQuentel'

    bugs.python.org fields:

    activity = <Date 2021-07-17.04:20:16.497>
    actor = 'pablogsal'
    assignee = 'brandtbucher'
    closed = True
    closed_date = <Date 2021-07-17.04:20:16.498>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2021-07-09.10:16:54.853>
    creator = 'quentel'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44589
    keywords = ['patch']
    message_count = 12.0
    messages = ['397195', '397203', '397204', '397215', '397240', '397460', '397493', '397498', '397519', '397522', '397687', '397697']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'quentel', 'pablogsal', 'miss-islington', 'brandtbucher', 'jack__d']
    pr_nums = ['27131', '27157']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44589'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    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