cpython/Tools/compiler
Guido van Rossum c2e20744b2 PEP 343 -- the with-statement.
This was started by Mike Bland and completed by Guido
(with help from Neal).

This still needs a __future__ statement added;
Thomas is working on Michael's patch for that aspect.

There's a small amount of code cleanup and refactoring
in ast.c, compile.c and ceval.c (I fixed the lltrace
behavior when EXT_POP is used -- however I had to make
lltrace a static global).
2006-02-27 22:32:47 +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 PEP 343 -- the with-statement. 2006-02-27 22:32:47 +00:00
astgen.py Fix compiler.ast.flatten function so that it works on lists. 2005-06-02 05:55:20 +00:00
compile.py Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +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 PEP-0318, @decorator-style. In Guido's words: 2004-08-02 06:10:11 +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.