If it has a doc string it will display that as well. This is experimental code. This script takes a list of module names and tells you which top-level functions have local variables that hide builtin objects with the same name. It allows you to intersect two recurring dates or generate a finite subset of dates that fit the recurrence pattern. There's a long comment at the start that's not much more than me thinking out loud, followed by a fairly small amount of code.
Feedback is much appreciated.
This paper describes some initial work I did with a peephole optimizer for Python byte code. It also cleans up a few other miscellaneous nits. This patch against the 1.5.1 source distribution adds a peephole optimizer to Python. The cgi module that comes with Python eliminates the tedium of marshalling script parameters from the HTTP input stream. This module enhances that with type checking.