Let's leave this topic behind for a while. Hacks that can be implemented only using sys._getframe() are not generally suitable for including in the standard library or making part of the language spec. -- --Guido van Rossum (home page: http://www.python.org/~guido/)