Ian Bicking: the old part of his blog

Comment

iRichard, If that's a really problem, why not just change traceback.print_stack() to use sys._getframe()?

(traceback.print_stack() and traceback.print_stack(sys._getframe()) gives the same output)
Comment on Still Pretty Cheap Debugging Trick
by Fredrik