Message411434
I've often seen people say things like "I can't use TypeGuard yet, I'm stuck on 3.9". That's not true, because the typing_extensions package backports all typing features to all supported Python versions.
To help make people aware of this option, we should mention typing_extensions in https://docs.python.org/3.10/library/typing.html.
Perhaps this can go in the "Relevant PEPs" section, or at the end of the intro section.
Suggested wording:
"New features have been added to the typing module in each major version of Python. The typing extensions (link to GitHub) package provides backports to all supported versions of Python 3 for almost all of these features." |
|
| Date |
User |
Action |
Args |
| 2022-01-24 00:51:36 | JelleZijlstra | set | recipients:
+ JelleZijlstra, gvanrossum, srittau, docs@python, sobolevn, kj, AlexWaygood |
| 2022-01-24 00:51:36 | JelleZijlstra | set | messageid: <[email protected]> |
| 2022-01-24 00:51:36 | JelleZijlstra | link | issue46494 messages |
| 2022-01-24 00:51:36 | JelleZijlstra | create | |
|