This module was originally written by Corran Webster - thanks.
The module implements a few simple rationalizations of bytecode - simplfiying jumps, eliminating dead code, removing unused variables, that kind of stuff.
It's slow, however.
Send comments to mwh@python.net