Re: [Python-Dev] how to dump cst

2017-08-26 Thread Emily E Morehouse
Hi, I believe the parser module allows for generation of a CST, though the documentation is not specific about the type of syntax tree used. The old compiler module utilized it for this purpose and co

[Python-Dev] how to dump cst

2017-08-26 Thread yang chen
Hello, everyone. I'm learning python source code, I used to print info when I debug code, but it's not convenient. I want to print CST, AST, ByteCode with iPython, wirte some code, then print it's CST、AST、 BYTECODE, and then to read the source code. But, I can't dump the CST tree which will tran