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

Serhiy Storchaka report at bugs.python.org
Sat Sep 7 05:31:33 EDT 2019

New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list