[Python-Dev] Python 2.1 PEPs
Ka-Ping Yee
ping@lfw.org
Tue, 17 Apr 2001 16:04:53 -0700 (PDT)
On Tue, 17 Apr 2001, Guido van Rossum wrote:
> This is one of the reasons why I didn't want to add this to the 2.1
> release at such a late point. I have no easy way to verify that this
> is always true, and in fact I have no idea what inspect.stack()[1][3]
> means. :-(
Would you have preferred to write
sys._getframe().f_back.f_code.co_name
? It's the same thing.
-- ?!ng
"If I have seen farther than others, it is because I was standing on a
really big heap of midgets."
-- K. Eric Drexler