Backported and Experimental Type Hints for Python 3.5+
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.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
11
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:seife:Factory/python-typing_extensions && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
_multibuild | 0000000053 53 Bytes | |
python-typing_extensions.changes | 0000021823 21.3 KB | |
python-typing_extensions.spec | 0000003375 3.3 KB | |
typing_extensions-4.8.0.tar.gz | 0000071456 69.8 KB |
Revision 21 (latest revision is 25)
- Update to 4.8.0: - Add typing_extensions.Doc, as proposed by PEP 727 - Drop support for Python 3.7 (including PyPy-3.7) - Fix bug where get_original_bases() would return incorrect results when called on a concrete subclass of a generic class - Fix bug where ParamSpec(default=...) would raise a TypeError on Python versions <3.11
Comments 0