a fork of Python 2 and 3 ast modules with type comment support
https://github.com/python/typed_ast
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, 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.6 parsers.
- Sources inherited from project devel:languages:python
- Devel package for openSUSE:Factory
-
9
derived packages
- Links to openSUSE:Factory / python-typed-ast
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:smarty12:Python/python-typed-ast && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000124 124 Bytes | |
python-typed-ast.changes | 0000002513 2.45 KB | |
python-typed-ast.spec | 0000001960 1.91 KB | |
typed-ast-1.3.1.tar.gz | 0000204285 199 KB |
Revision 12 (latest revision is 49)
Sebastian Wagner (sebix)
committed
(revision 12)
- Update to version 1.3.1: * Disallow two type comments on one def * Fix memory leaks caused by type comment parsing (#91) * Fix some broken asserts relating to handling of async keyword (#92) * Check NEW_TYPE_COMMENT calls for failure (#93) - Update to version 1.3.0: * Fully incorporate the code from Python 3.7.2 * Fix some compiler warnings * Add a kind field to Bytes as well (#83) * Fix await in functions with type comments (#86) * Put _ast3 and _ast27 in the typed_ast package (#85) * Fix f-string parsing to not think everything is a set (#87)
Comments 0