android13/external/python/cpython2/Tools/compiler
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
ACKS initial 2024-06-22 20:45:49 +08:00
README initial 2024-06-22 20:45:49 +08:00
ast.txt initial 2024-06-22 20:45:49 +08:00
astgen.py initial 2024-06-22 20:45:49 +08:00
compile.py initial 2024-06-22 20:45:49 +08:00
demo.py initial 2024-06-22 20:45:49 +08:00
dumppyc.py initial 2024-06-22 20:45:49 +08:00
regrtest.py initial 2024-06-22 20:45:49 +08:00
stacktest.py initial 2024-06-22 20:45:49 +08:00

README

This directory contains support tools for the Python compiler package,
which is now part of the standard library.

compile.py	Demo that compiles a Python module into a .pyc file
		using the pure-Python compiler code.

demo.py		Prints the names of all the methods defined in a module,
		as a demonstration of walking through the abstract syntax
		tree produced by the parser.

dumppyc.py	Dumps the contents of a .pyc file, printing 
		the attributes of the code object followed by a 
		code disassembly.

regrtest.py	Runs the Python test suite using bytecode generated 
		by the pure-Python compiler code instead of the
		builtin compiler.