Skip to content

Tuple unpacking the result of an if expression is miscompiled, leads to panic #1878

Closed
@coolreader18

Description

@coolreader18

Feature

Minimal reproduction:

a, b = (1, 2) if "s" else (3, 4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-compatA discrepancy between RustPython and CPython

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions