typing_extensions_python310

Backported and experimental type hints for Python

bacaro: haikuports also on HaikuPorts
Also on HaikuPorts. typing_extensions_python310

Description

The 'typing_extensions' module serves two related purposes:

- Enable use of new type system features on older Python versions. For example, 'typing.TypeGuard' is new in Python 3.10, but 'typing_extensions' allows users on previous Python versions to use it too. - Enable experimentation with new type system PEPs before they are accepted and added to the 'typing' module.

'typing_extensions' is treated specially by static type checkers such as mypy and pyright. Objects defined in typing_extensions are treated the same way as equivalent forms in 'typing'.

'typing_extensions' uses Semantic Versioning. The major version will be incremented only for backwards-incompatible changes. Therefore, it's safe to depend on typing_extensions like this: 'typing_extensions >=x.y, <(x+1)', where 'x.y' is the first version that includes all features you need.

Install

Channel stable v4.12.2-3

This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.

pkgman install typing_extensions_python310

Download version 4.12.2-3 (any) hpkg

Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.

Reviews