<br><div><span class="gmail_quote">On 6/10/07, <b class="gmail_sendername">Gabriel Genellina</b> <<a href="mailto:gagsl-py2@yahoo.com.ar">gagsl-py2@yahoo.com.ar</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
En Sat, 09 Jun 2007 21:40:40 -0300, Fabio Zadrozny <<a href="mailto:fabiofz@gmail.com">fabiofz@gmail.com</a>><br>escribió:<br><br>> Is there some way to get all the frames for any given thread? -- in a way<br>> that does not require a compiled extension.
<br><br>For the current (calling) thread, you can use sys._getframe()<br>For other threads, you can use sys._current_frames()<br>Frames have a f_back attribute pointing to the previous one, that you can<br>use to navigate them.
<br></blockquote></div><br>Thanks a lot... I guess I'll have to find another way for versions before 2.5 ;-)<br>