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

2005-03-06 Thread Tim Peters
[Phillip J. Eby] What would you suggest calling it? sys._current_frames(), returning a dictionary? I don't fight about names -- anything that doesn't make Guido puke works wink. I channel that sys._current_frames() would be fine. A dict mapping thread id to current thread frame would be

[Python-Dev] Useful thread project for 2.5?

2005-03-04 Thread Tim Peters
Florent Guillaume recently wrote a valuable addin for Zope: http://www.zope.org/Members/nuxeo/Products/DeadlockDebugger When a Zope has threads that are hung, this can give a report of Python's current state (stack trace) across all threads -- even the ones that are hung (the deadlocked

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

2005-03-04 Thread Phillip J. Eby
At 04:01 PM 3/4/05 -0500, Tim Peters wrote: Florent's DeadlockDebugger in turn builds on an external C threadframe module: http://www.majid.info/mylos/stories/2004/06/10/threadframe.html Folding the functionality of that (or similar functionality) into the core would, IMO, be a valuable