Ast-decompiler

Latest version: v0.7.0

Safety actively analyzes 621374 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.0

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

0.6.0

- 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)

0.5.0

- 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

0.4.0

- Support Python 3.7 and 3.8 (thanks to Luke Plant)
- Allow keyword-only arguments without default values (thanks to Shantanu Jain)

0.3.2

- More f-string fixes (thanks to Shantanu Jain)

0.3.1

- Fix handling of f-strings

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.