title: Access cython stack inside python
body: <p>I'm trying to get some information from inside long running cython functions (an ODE solver).</p>
  
  <p>I've tried creating a signal handler which walks up the stack (using <code>frame.f_back</code>), but it appears this doesn't include cython frames.</p>
  
  <p>Is it possible to access any cython frame from python?</p>