Skip to content

SyntaxError for yield expressions inside comprehensions & genexps #76370

@ncoghlan

Description

@ncoghlan
BPO 32189
Nosy @ncoghlan, @serhiy-storchaka
PRs
  • [3.8] bpo-10544: Disallow "yield" in comprehensions and generator expressions. #4564
  • 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 2018-05-09.09:20:46.649>
    created_at = <Date 2017-12-01.04:57:38.775>
    labels = ['interpreter-core', 'type-bug', '3.8']
    title = 'SyntaxError for yield expressions inside comprehensions & genexps'
    updated_at = <Date 2018-05-09.09:20:46.648>
    user = 'https://github.com/ncoghlan'

    bugs.python.org fields:

    activity = <Date 2018-05-09.09:20:46.648>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-05-09.09:20:46.649>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2017-12-01.04:57:38.775>
    creator = 'ncoghlan'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32189
    keywords = ['patch']
    message_count = 1.0
    messages = ['307360']
    nosy_count = 2.0
    nosy_names = ['ncoghlan', 'serhiy.storchaka']
    pr_nums = ['4564']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue32189'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifeinterpreter-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