Closed
Description
This issue is supposed to track when we can start to use builtin generics (PEP 585) in typeshed. Support is needed in released versions of:
- mypy (Implement PEP 585 (Generic builtins and __future__.annotations) mypy#7907), mostly works except:
- tuples containing ... (Unexpected '...' for homogeneous tuples using builtin tuple (PEP 585) mypy#9980)
- generic type (type not generic when running with Python < 3.9 mypy#10303)
- as base classes (Built-in generics as super classes mypy#10731)
- pytype
- pyright
- pyre
- PyCharm
Also, type aliases are a problem, although this might need TypeAlias
support (#4913).