Skip to content

Import of Protocol is broken aftre form typing import * #4427

Closed as not planned
@ilevkivskyi

Description

@ilevkivskyi

This code:

from typing import *
from typing_extensions import Protocol

leads to a weird error:

Incompatible import of "Protocol" (imported name has type "typing_extensions._SpecialForm", local name has type "typing._SpecialForm")

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions