Skip to content

SyntaxError: assignment expression within assert #85589

Description

@jancespivo
BPO 41417
Nosy @gvanrossum, @ronaldoussoren, @serhiy-storchaka, @jancespivo
Superseder
  • bpo-39909: Assignment expression in assert causes SyntaxError
  • 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-07-28.10:18:58.773>
    created_at = <Date 2020-07-28.07:59:37.953>
    labels = ['interpreter-core', 'type-bug', '3.8']
    title = 'SyntaxError: assignment expression within assert'
    updated_at = <Date 2020-07-28.10:18:58.771>
    user = 'https://github.com/jancespivo'

    bugs.python.org fields:

    activity = <Date 2020-07-28.10:18:58.771>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-07-28.10:18:58.773>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2020-07-28.07:59:37.953>
    creator = 'jan.cespivo'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41417
    keywords = []
    message_count = 4.0
    messages = ['374476', '374478', '374479', '374482']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'ronaldoussoren', 'serhiy.storchaka', 'jan.cespivo']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '39909'
    type = 'behavior'
    url = 'https://bugs.python.org/issue41417'
    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

      Fields

      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions