python-typing
Port variant py38
Summary Type Hints for Python (PY38)
Package version 3.7.4.1
Homepage https://docs.python.org/3/library/typing.html
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py37
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 10 JUL 2020, 12:51:37 UTC
Port created 30 MAY 2017, 20:17:50 UTC
Subpackage Descriptions
single Typing -- Type Hints for Python This is a backport of the standard library typing module to Python versions older than 3.5. (See note below for newer versions.) Typing defines a standard notation for Python function and variable type annotations. The notation can be used for documenting code in a concise, standard format, and it has been designed to also be used by static and runtime type checkers, static analyzers, IDEs and other tools. NOTE: in Python 3.5 and later, the typing module lives in the stdlib, and installing this package has NO EFFECT, because stdlib takes higher precedence than the installation directory. To get a newer version of the typing module in Python 3.5 or later, you have to upgrade to a newer Python (bugfix) version. For example, typing in Python 3.6.0 is missing the definition of 'Type' -- upgrading to 3.6.2 will fix this. Also note that most improvements to the typing module in Python 3.7 will not be included in this package, since Python 3.7 has some built-in support that is not present in older versions (See PEP 560.) For package maintainers, it is preferred to use ``typing;python_version<"3.5"`` if your package requires it to support earlier Python versions. This will avoid shadowing the stdlib typing module when your package is installed via ``pip install -t .`` on Python 3.5 or later.
Configuration Switches (platform-specific settings discarded)
PY37 OFF Build using Python 3.7 PY38 ON Build using Python 3.8
Package Dependencies by Type
Build and Runtime python38:single:standard
python-setuptools:single:py38
Download groups
main mirror://PYPI/t/typing
Distribution File Information
91dfe6f3f706ee8cc32d38edbbf304e9b7583fb37108fef38229617f8b3eba23 77982 typing-3.7.4.1.tar.gz
Ports that require python-typing:py38
python-mypy-extensions:py38 Experimental extensions of mypy typechecker (PY38)
python-typing-extensions:py38 Backported type hints for Python 3.5+ (PY38)