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

2005-03-08 Thread Michael Hudson
Phillip J. Eby [EMAIL PROTECTED] 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

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

2005-03-08 Thread Phillip J. Eby
At 10:03 AM 3/8/05 +, Michael Hudson wrote: Phillip J. Eby [EMAIL PROTECTED] 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,

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

2005-03-07 Thread Greg Ward
On 06 March 2005, Fazal Majid said: Since I started this, I might as well finish it. I do have some Python developer experience (hey, I even voted for comp.lang.python back when...) but not in the core interpreter itself. What would be *really* spiffy is to provide a way for

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

2005-03-07 Thread Phillip J. Eby
At 08:23 PM 3/7/05 -0500, Greg Ward wrote: On 06 March 2005, Fazal Majid said: Since I started this, I might as well finish it. I do have some Python developer experience (hey, I even voted for comp.lang.python back when...) but not in the core interpreter itself. What would be *really* spiffy

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

2005-03-07 Thread Tim Peters
[Greg Ward] What would be *really* spiffy is to provide a way for externally-triggered thread dumps. This is one of my top two Java features [1]. The way this works in Java is a bit awkward -- kill -QUIT the Java process and it writes a traceback for every running thread to stdout -- but it