cpython/Tools/compiler
Georg Brandl d35e970b58 Refactor astgen.py with 2to3. 2007-03-18 19:52:24 +00:00
..
ACKS Why didn't I think of Fred off the top of my head? 2001-08-27 20:44:20 +00:00
README Remove setup.py, unnecessary since compiler package is the std 2001-09-20 15:02:27 +00:00
ast.txt * Remove PRINT_ITEM(_TO), PRINT_NEWLINE(_TO) opcodes. 2007-02-09 21:28:07 +00:00
astgen.py Refactor astgen.py with 2to3. 2007-03-18 19:52:24 +00:00
compile.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
demo.py Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
dumppyc.py Whitespace normalization. 2005-12-25 23:18:31 +00:00
regrtest.py SF patch 1631942 by Collin Winter: 2007-01-10 16:19:56 +00:00
stacktest.py Test utility to look for bad stacksize calculations. 2001-10-17 13:39:06 +00: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.