Skip to content

Update the behaviour of the type function for metaclasses #2826

Closed
@TRManderson

Description

@TRManderson

Calling type on a class A yields Type[A], even if A has a metaclass other than type. This leads to incorrectly typechecking interactions with type(A) when when attempting to use metaclass attributes.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions