a fork of Python 2 and 3 ast modules with type comment support

Edit Package python-typed-ast
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.

Refresh
Refresh
Source Files
Filename Size Changed
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 5 (latest revision is 22)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 679040 from Todd R's avatar Todd R (TheBlackCat) (revision 5)
- 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
openSUSE Build Service is sponsored by