Skip to content

Importing from the same module causes a crash #518

Closed
@JukkaL

Description

@JukkaL

The following semantic analysis test case causes an unhandled exception (reported in #379 by @mason-bially):

[case testImportFromSameModule]
import m.x
[file m/__init__.py]
[file m/x.py]
from m.x import nonexistent

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrong

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions