Current stackdepth outside PyEval_EvalFrameEx

skip at pobox.com skip at pobox.com
Tue Oct 24 19:04:39 CEST 2006


    >> I'm trying to implement a python function that returns the current
    >> stack depth of its frame.

Maybe sys._getframe() or traceback.extract_stack()?

Skip



More information about the Python-list mailing list