On Mon, Jul 16, 2018 at 12:24 PM, Brett Cannon wrote:
>
> Since it isn't necessary for Python to function, I would say we probably
> don''t want to pull it up. Then the maintenance burden grows much more.
>
might make sense to put it on pypi though, if someone want to take
responsibility for it.
On Thu, 12 Jul 2018 at 11:21 Andre Roberge wrote:
> In the cPython repository, there is an unparse module in the Tools section.
> https://github.com/python/cpython/blob/master/Tools/parser/unparse.py
>
> However, as it is not part of the standard library, it cannot be easily
> used; to do so, one
If you want to get source code from an AST, you'd probably be better off
with a more fully-featured library like Astor:
https://github.com/berkerpeksag/astor
On July 12, 2018 1:21:23 PM Andre Roberge wrote:
In the cPython repository, there is an unparse module in the Tools section.
https://
In the cPython repository, there is an unparse module in the Tools section.
https://github.com/python/cpython/blob/master/Tools/parser/unparse.py
However, as it is not part of the standard library, it cannot be easily
used; to do so, one needs to make a local copy in a place from where it can
be i