[issue46494] Mention typing_extensions in the typing documentation

Jelle Zijlstra report at bugs.python.org
Sun Jan 23 19:51:36 EST 2022


New submission from Jelle Zijlstra <jelle.zijlstra at gmail.com>:

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."

----------
assignee: docs at python
components: Documentation
messages: 411434
nosy: AlexWaygood, Jelle Zijlstra, docs at python, gvanrossum, kj, sobolevn, srittau
priority: normal
severity: normal
status: open
title: Mention typing_extensions in the typing documentation
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46494>
_______________________________________


More information about the Python-bugs-list mailing list