[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 for learning internals of the Python compiler, in addition to 
tokenize and dis.

--
components: Library (Lib)
messages: 351297
nosy: benjamin.peterson, brett.cannon, rhettinger, serhiy.storchaka, yselivanov
priority: normal
severity: normal
status: open
title: Add command-line interface for the ast module
type: enhancement
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com