
Aug. 17, 2022
4:11 p.m.
The Python type system has advanced in many ways since 2019 when this thread was created. PEP 695 (currently in draft form) proposes a new way to declare generic type aliases. It also proposes to deprecate the older `TypeAlias` annotation, which would no longer have any utility. Here's the link to the draft PEP 695: https://peps.python.org/pep-0695/ Here's the link to the typing-sig discussion: https://mail.python.org/archives/list/typing-sig@python.org/thread/BB2BGYJY2... Feedback and comments are welcome. -- Eric Traut Contributor to pyright & pylance Microsoft