def spew(trace_names=None, show_values=False):
 sys.settrace(Spew(trace_names, show_values))

def spew ( trace_names = None , show_values = False ) : sys . settrace ( Spew ( trace_names , show_values ) )
install a trace hook which writes incredibly detailed logs about what code is being executed to stdout .