Current stackdepth outside PyEval_EvalFrameEx

Fabiano Sidler fabianosidler at gmail.com
Tue Oct 24 14:50:33 EDT 2006


On Monday 23 October 2006 02:20, I wrote:
> I'm trying to implement a python function that returns the current stack
> depth of its frame. Unfortunately, I don't see any possibility to get this
> value outside of PyEval_EvalFrameEx. Inside of it, I'd use the STACK_LEVEL
> macro. How do I do it?

No hints?

Greetings,
Fips



More information about the Python-list mailing list