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 0000009420 9.2 KB
python-typed-ast.spec 0000002280 2.23 KB
typed_ast-1.5.5.tar.gz 0000252841 247 KB
use-PyUnicode_DecodeUnicodeEscape.patch 0000001930 1.88 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1114754 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 22)
- update to 1.5.5:
  * update project to be end of life
  * set dev status to inactive

  * Use PyUnicode_DecodeUnicodeEscape directly, rather than wrapping it.
  * Recommend ast on Python 3.8+
 * 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)
Comments 0
openSUSE Build Service is sponsored by