[Python-Dev] Re: Useful thread project for 2.5? (original) (raw)
Phillip J. Eby pje at telecommunity.com
Tue Mar 8 16:56:40 CET 2005
- Previous message: [Python-Dev] Re: Useful thread project for 2.5?
- Next message: [Python-Dev] Failing tests: marshal, warnings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ftrace 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.
- Previous message: [Python-Dev] Re: Useful thread project for 2.5?
- Next message: [Python-Dev] Failing tests: marshal, warnings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]