Michael Foord <michael at voidspace.org.uk> added the comment: hmm... the lambda should probably take an argument like sys._getframe. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue6581> _______________________________________