Skip to content

support conversion of func(**{} if a else b) #81429

@ShawnHan1993

Description

@ShawnHan1993
BPO 37248
Nosy @pablogsal, @tirkarthi, @ShawnHan1993
Superseder
  • bpo-36541: Make lib2to3 grammar better match Python, support the := walrus
  • 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 2019-06-15.12:16:09.202>
    created_at = <Date 2019-06-12.12:15:53.753>
    labels = ['3.7', '3.8', 'type-feature', 'expert-2to3', '3.9']
    title = 'support conversion of `func(**{} if a else b)`'
    updated_at = <Date 2019-06-15.12:16:16.782>
    user = 'https://github.com/ShawnHan1993'

    bugs.python.org fields:

    activity = <Date 2019-06-15.12:16:16.782>
    actor = 'xtreak'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-15.12:16:09.202>
    closer = 'xtreak'
    components = ['2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2019-06-12.12:15:53.753>
    creator = 'Shen Han'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37248
    keywords = []
    message_count = 7.0
    messages = ['345354', '345361', '345437', '345438', '345452', '345678', '345679']
    nosy_count = 3.0
    nosy_names = ['pablogsal', 'xtreak', 'Shen Han']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '36541'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue37248'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions