cpython/Tools/compiler
Raymond Hettinger 354433a59d SF patch #872326: Generator expression implementation
(Code contributed by Jiwon Seo.)

The documentation portion of the patch is being re-worked and will be
checked-in soon.  Likewise, PEP 289 will be updated to reflect Guido's
rationale for the design decisions on binding behavior (as described in
in his patch comments and in discussions on python-dev).

The test file, test_genexps.py, is written in doctest format and is
meant to exercise all aspects of the the patch.  Further additions are
welcome from everyone.  Please stress test this new feature as much as
possible before the alpha release.
2004-05-19 08:20:33 +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 SF patch #872326: Generator expression implementation 2004-05-19 08:20:33 +00:00
astgen.py Fix calculation of hardest_arg. 2001-09-17 20:16:30 +00:00
compile.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
demo.py This script demonstrates use of the visitor interface of the compiler 2000-07-25 16:43:23 +00:00
dumppyc.py Only print attributes that start with co_. 2001-09-17 18:08:20 +00:00
regrtest.py Massive changes from SF 589982 (tempfile.py rewrite, by Zack 2002-08-09 16:38:32 +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.