[issue38049] Add command-line interface for the ast module

2019-09-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38049] Add command-line interface for the ast module

2019-09-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 832e8640086ac4fa547c055a72929879cc5a963a by Serhiy Storchaka in branch 'master': bpo-38049: Add command-line interface for the ast module. (GH-15724) https://github.com/python/cpython/commit/832e8640086ac4fa547c055a72929879cc5a963a

[issue38049] Add command-line interface for the ast module

2019-09-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Multiline ast.dump() ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38049] Add command-line interface for the ast module

2019-09-07 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +15378 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15724 ___ Python tracker

[issue38049] Add command-line interface for the ast module

2019-09-07 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed PR adds a simple command-line interface to the ast module, similar to CLI of the tokenize and dis modules. It reads the content of a specified file (or stdin), parses it with ast.parse() and outputs the tree with ast.dump(). It can be used