Python module to redefine a function/attribute of a module that will reset after going out of scope.  You can redef any attribute of an object.  You can also capture input to a redefined function, and other stats.  This tool was inspired by http://search.cpan.org/~airwave/Test-Resub-1.02/lib/Test/Resub.pm  See the test_redef.py for examples.