Skip to content

False negative: closed=False not allowed when subclassing from non-open TypedDict #10859

@erictraut

Description

@erictraut

According to the subclassing rules introduced in PEP 728, when a class subclasses from a non-open TypedDict, it cannot use closed=False. Pyright doesn't currently flag this as an error condition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions