Skip to content

Covariant Mappings key type? #803

Closed
Closed
@LeeeeT

Description

@LeeeeT

Describe the problem

Why is Mappings key type made covariant? This is already discussed and showed to be unsafe in python/typing#273. This contradicts type theory.

Gist to reproduce

No response

Severity

annoying but i can live with it

Your Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions