Skip to content

tuple[Any, ...] should be treated as a gradual type according to PEP 646 #7053

@erictraut

Description

@erictraut

The specification for PEP 646 indicates that tuple[Any, ...] should be treated as bidirectionally type-compatible with all tuples regardless of their lengths. This is different from tuple[T, ...] where T is some type other than Any.

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