Skip to content

import * in class bodies should be disallowed  #12198

Open
@hauntsaninja

Description

@hauntsaninja

In Python 3 (but not Python 2), it is illegal to do import * in class body, but mypy allows it.

Forking from #12197

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      import * in class bodies should be disallowed · Issue #12198 · python/mypy