python3-typing-extensions – Backported and Experimental Type Hints for Python

The typing module was added to the standard library in Python 3.5 on a provisional basis and will no longer be provisional in Python 3.7. However, this means users of Python 3.5 - 3.6 who are unable to upgrade will not be able to take advantage of new types added to the typing module, such as typing.Text or typing.Coroutine.

The typing_extensions module contains both backports of these changes as well as experimental types that will eventually be added to the typing module, such as Protocol.

Users of other Python versions should continue to install and use the typing module from PyPI instead of using this one unless specifically writing code that must be compatible with multiple Python versions or requires experimental types.

Package availability chart

Distribution

Base version

Our version

Architectures

Debian GNU/Linux 10.0 (buster)

3.7.2-1

3.10.0.2-1~bpo11+1~nd100+1

i386, amd64, sparc, armel, arm64, ppc64el

Debian GNU/Linux 11.0 (bullseye)

3.7.4.3-1

3.10.0.2-1~bpo11+1~nd110+1

i386, amd64, sparc, armel, arm64

Debian GNU/Linux 12.0 (bookworm)

4.4.0-1

Debian testing (trixie)

4.10.0-1

Debian unstable (sid)

4.10.0-1

Ubuntu 20.04 “Focal Fossa” (focal)

3.7.4.1-1

3.10.0.2-1~bpo11+1~nd20.04+1

i386, amd64, sparc, armel, arm64

Ubuntu 22.04 “Jammy Jellyfish” (jammy)

3.10.0.2-1

3.10.0.2-1~bpo11+1~nd22.04+1

i386, amd64, sparc, armel, arm64

Comments

blog comments powered by Disqus