python-typed-ast
Port variant py310
Summary Ast module with type comment support (3.10)
Package version 1.5.4
Homepage https://github.com/python/typed_ast
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py39
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 22 MAY 2022, 14:00:47 UTC
Port created 20 APR 2020, 15:00:59 UTC
Subpackage Descriptions
single `typed_ast` is a Python 3 package that provides a Python 2.7 and Python 3 parser similar to the standard `ast` library. Unlike `ast` below Python 3.8, the parsers in `typed_ast` include PEP 484 type comments and are independent of the version of Python under which they are run. The `typed_ast` parsers produce the standard Python AST (plus type comments), and are both fast and correct, as they are based on the CPython 2.7 and 3.7 parsers. **Note:** The `ast` module of Python 3.8+ supports all features of `typed_ast`. `typed_ast` does not support parsing code that uses syntax introduced in Python 3.8 onwards. We recommend using `ast` on Python 3.8 or above.
Configuration Switches (platform-specific settings discarded)
PY310 ON Build using Python 3.10 PY39 OFF Build using Python 3.9
Package Dependencies by Type
Build (only) python-setuptools:single:py310
autoselect-python:single:standard
Build and Runtime python310:single:standard
Download groups
main mirror://PYPI/t/typed-ast
Distribution File Information
39e21ceb7388e4bb37f4c679d72707ed46c2fbf2a5609b8b8ebc4b067d977df2 252491 typed_ast-1.5.4.tar.gz
Ports that require python-typed-ast:py310
No other ports depend on this one.