Skip to content

Commit

Permalink
Remove own AST unparsing logic, relying instead of built-in 'ast.unpa…
Browse files Browse the repository at this point in the history
…rse'
  • Loading branch information
malthe committed Jan 16, 2024
1 parent b48ee9d commit 21d5b69
Show file tree
Hide file tree
Showing 8 changed files with 184 additions and 994 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Changes

In next release ...

- Parsing the AST back to Python code now uses the built-in
`ast.unparse` function. This change is not directly surfaced but
means that the unparsing code is now more correctly tracking changes
to the interpreter.

- Drop support for platforms where AST nodes aren't weakref-capable
(e.g., older PyPy).

Expand Down
Loading

0 comments on commit 21d5b69

Please sign in to comment.