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 | 0000011031 10.8 KB | |
python-typed-ast.spec | 0000002341 2.29 KB | |
typed_ast-1.5.4.tar.gz | 0000252491 247 KB | |
use-PyUnicode_DecodeUnicodeEscape.patch | 0000001930 1.88 KB |
Revision 43 (latest revision is 49)
Sebastian Wagner (sebix)
committed
(revision 43)
- Release version 1.5.4 (#189) - Do not include now private code.h (#188) As of https://github.com/python/cpython/pull/32385 the header code.h is private but directly included into Python.h - Fix Python 3.11 support (#187) The compilation error on master is: ``` ast3/Parser/tokenizer.c:1991:10: error: implicit declaration of function '_Py_dup' is invalid in C99 [-Werror,-Wimplicit-function-declaration] fd = _Py_dup(fd); ^ 1 error generated. ``` Probably as a result of https://github.com/python/cpython/pull/30484 Just declaring it seems to fix things. Add a (slightly) hacky way of testing Python 3.11 in CI prior to manylinux / cibuildwheel support. - Bump version to 1.5.4.dev0 (#186) - Release version 1.5.3 (#185) - FIX: Account form stdbool.h being included in Python.h (#184) As of CPython 3.11 (via https://github.com/python/cpython/pull/29883) stdbool.h is now included in Python.h so do attempt to redefine bool/true/false. - Bump version to 1.5.3.dev0 - Release version 1.5.2 - Add support for building aarch64 wheels (#182) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> - Remove update process document (#177) typed_ast will not be updated to support syntax past Python 3.8 as Python 3.8's ast module now incorporates the features of typed_ast. - Bump version to 1.5.2.dev0 - Release version 1.5.1 (#181) Co-authored-by: hauntsaninja <> - Fix #167: Port ast27 to Python 3.11 (#176) Copy _PyLong_DigitValue table from Python 3.10 as "digitvalue" in ast27/Python/mystrtoul.c. The symbol has been removed from the public Python 3.11 C API. - Bump version to 1.5.1.dev0
Comments 0