Skip to content

Support type.__orig_bases__ as defined in PEP 560 #7811

Closed
@huntzhan

Description

@huntzhan

__orig_bases__ is defined in PEP 560. Currently class type does not include this symbol. This symbol is helpful for writing type reflection code. It would be great if this symbol is supported.

related pyright issue: microsoft/pyright#3442

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions