On Aug 31, 5:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The code below produces no output. I would expect to see: > > tracing... > tracing... > tracing... > tracing... > tracing... > > I was wondering if anyone had any experience with this. Never mind, now it works.
> > ================================= > import sys > > def mytrace(frame, event, arg): > print "tracing..." > > sys.settrace(mytrace) > > def foo(): > for i in range(5): > print i > > foo() -- http://mail.python.org/mailman/listinfo/python-list
