Backported and Experimental Type Hints for Python 3.5+

Edit Package python-typing_extensions

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.

Refresh
Refresh
Source Files
Filename Size Changed
_multibuild 0000000053 53 Bytes
python-typing_extensions.changes 0000025841 25.2 KB
python-typing_extensions.spec 0000003418 3.34 KB
typing_extensions-4.12.2.tar.gz 0000085321 83.3 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1179515 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 26)
- update to 4.12.2:
  * Fix regression in v4.12.0 where specialization of certain
  * generics with an overridden `__eq__` method would raise
    errors.
  * Fix tests so they pass on 3.13.0b2
  * Preliminary changes for compatibility with the draft
    implementation of PEP 649 in Python 3.14.
  * Fix regression in v4.12.0 where nested `Annotated` types
    would cause `TypeError` to be raised if the nested
    `Annotated` type had unhashable metadata.
  * Fix incorrect behaviour of `typing_extensions.ParamSpec` on
    Python 3.8 and 3.9 that meant that
    `isinstance(typing_extensions.ParamSpec("P"),
    typing.TypeVar)` would have a different result in some
    situations depending on whether or not a profiling
    function had been set using `sys.setprofile`.
  * This release focuses on compatibility with the upcoming
    release of Python 3.13. Most changes are related to the
    implementation of type parameter defaults (PEP 696).
Comments 0
openSUSE Build Service is sponsored by