[Python-Dev] Re: Useful thread project for 2.5?

Phillip J. Eby pje at telecommunity.com
Tue Mar 8 16:56:40 CET 2005


At 10:03 AM 3/8/05 +0000, Michael Hudson wrote:
>"Phillip J. Eby" <pje at telecommunity.com> writes:
>
> > Which reminds me, btw, it would be nice while we're adding more
> > execution control functions to have a way to get the current trace
> > hook and profiling hook,
>
>Well, there's the f_trace member of frame objects, but I honestly
>can't remember what it's for...

It sets the *local* trace function, which is only active if a *global* 
trace function is set for the thread.  The global trace function is the 
thing you can't get at from Python.



More information about the Python-Dev mailing list