
On Mon, Nov 18, 2019 at 4:41 PM Pablo Galindo Salgado <pablogsal@gmail.com> wrote:
Hi,
What do people feel about exposing Tools/parser/unparse.py in the standard library? Here is my initial rationale:
* The tool already needs to be maintained and updated as is tested as part of the test suite. * I have used the tool almost all the time I needed to deal with AST transformations. * The public interface will have a very low surface API, keeping maintaining it (the public interface) a very small burden IMHO.
We could add the public interface to the ast.py module or a new one if people feel strongly about it.
How does it compare to Berker's popular and well-maintained PyPI package for this? https://github.com/berkerpeksag/astor -n -- Nathaniel J. Smith -- https://vorpus.org