* 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)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=48
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=43
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=41
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=40
- Download wheels for 3.9 as well
- Download aarch64 wheels (#154)
- Allow compilation on python 3.10.0a6 (#155)
Closes#156. (Except for Apple Silicon.)
- Fix compilation on python 3.10.0a7 (#158)
- PyArena was removed from the public api in python/cpython#25007
- This commit adds two new files (a copy of each for ast27 and ast3):
* pycore_pyarena.h: Taken from the cpython source code with minimal
changes
* pyarena.h: Maps the new, underscored function names to the old
function names, allowing the code to work on both python 3.10 and
older versions
- Add Python 3.10 classifier (#160)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=33
* 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)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=12
* Add __version__ string and tweak versioning scheme
* Point to the Python 3.6 commits as examples of how to update typed_ast (
* Add section on development philosophy
* Add information about the release process.
* Document Google Cloud Storage artifact deployment
* Preserve string kind modifiers
* Add docs for Str.kind
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typed-ast?expand=0&rev=9