ast_decompiler

An AST-to-code library for Python

APACHE-2.0 License

Downloads
53.6K
Stars
37
Committers
4
ast_decompiler - Release 0.8.0 Latest Release

Published by JelleZijlstra 5 months ago

  • Support Python 3.12 and 3.13; stop testing Python 3.6 and 3.7
  • Fix all DeprecationWarnings in the codebase
ast_decompiler - Release 0.7.0

Published by JelleZijlstra about 2 years ago

  • Stop adding redundant parentheses to complex numbers with no real part and a negative
    imaginary part (thanks to Alex Waygood)
ast_decompiler - Release 0.6.0

Published by JelleZijlstra over 2 years ago

  • Support Python 3.11
  • Fix bug where annotations on *args and **kwargs were dropped
  • Stop addding redundant parentheses to tuple subscripts on Python 3.8 and lower
    (thanks to Alex Waygood)
ast_decompiler - Release 0.5.0

Published by JelleZijlstra over 2 years ago

  • Support Python 3.9 and 3.10
  • Drop support for Python 2
  • Drop support for Python 3.5 and lower
  • Add py.typed
  • Fix decompilation of f-strings containing escaped braces
  • Preserve literal newlines in docstrings
  • Fix decompilation of complex infinity
  • Add support for Python 3.10 pattern matching
  • Fix incorrect decompilation of lambdas in comprehension guards on Python 3.9 and higher
  • Fix decompilation for dict ** unpacking
  • Modernize CI and packaging setup
  • Fix tests under Python 3.9
  • Add explicit LICENSE file