OILS / opy / tools / README View on Github | oilshell.org

18 lines, 13 significant
1This directory contains support tools for the Python compiler package,
2which is now part of the standard library.
3
4compile.py Demo that compiles a Python module into a .pyc file
5 using the pure-Python compiler code.
6
7demo.py Prints the names of all the methods defined in a module,
8 as a demonstration of walking through the abstract syntax
9 tree produced by the parser.
10
11dumppyc.py Dumps the contents of a .pyc file, printing
12 the attributes of the code object followed by a
13 code disassembly.
14
15regrtest.py Runs the Python test suite using bytecode generated
16 by the pure-Python compiler code instead of the
17 builtin compiler.
18