Skip to content

Allow unparenthesized walrus in set comprehensions #86547

@lysnikolaou

Description

@lysnikolaou
BPO 42381
Nosy @gvanrossum, @lysnikolaou, @pablogsal, @miss-islington
PRs
  • bpo-42381: Allow walrus in set literals and set comprehensions #23332
  • [3.9] bpo-42381: Allow walrus in set literals and set comprehensions (GH-23332) #23333
  • bpo-42381: Document walrus-related syntax changes in whatsnew #23382
  • 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 2020-11-18.23:50:58.954>
    created_at = <Date 2020-11-16.22:42:21.215>
    labels = ['interpreter-core', 'type-bug', '3.10']
    title = 'Allow unparenthesized walrus in set comprehensions'
    updated_at = <Date 2020-11-18.23:50:58.953>
    user = 'https://github.com/lysnikolaou'

    bugs.python.org fields:

    activity = <Date 2020-11-18.23:50:58.953>
    actor = 'lys.nikolaou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-11-18.23:50:58.954>
    closer = 'lys.nikolaou'
    components = ['Interpreter Core']
    creation = <Date 2020-11-16.22:42:21.215>
    creator = 'lys.nikolaou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42381
    keywords = ['patch']
    message_count = 13.0
    messages = ['381173', '381177', '381187', '381188', '381190', '381191', '381192', '381194', '381195', '381201', '381203', '381383', '381384']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'lys.nikolaou', 'pablogsal', 'miss-islington']
    pr_nums = ['23332', '23333', '23382']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42381'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only 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