Skip to content

[mypyc] AssertionError in get_seuqnce_type on ois.uname #12141

@thejcannon

Description

@thejcannon

Bug Report

mypyc is asserting on a type defined to be an iterable.

To Reproduce

mypyc foo.py

import os

for component in os.uname():
    print(component.encode())

Expected Behavior

No assertion 😄

Actual Behavior

Assertion 😢

(Write what happened.)

Your Environment

N/A

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions