Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 86f5bf6be9f3d21ebdf1aa991927f56971342362 authored by Anthony Baxter on 17 August 2006, 00:38:04 UTC
Branching release25-maint. All further 2.5 releases (including the release candidates,
Tip revision: 86f5bf6
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.

back to top