Hello all! I am embedding stackless inside of a libev event loop. I have callback functions that get run on idle and at the top of each loop that call PyStackless_Schedule(). My problem is that I can't figure out how to catch exceptions raised by tasklets and print them out. <div>
<br></div><div>In standard python c api, I would expect to just call PyErr_Occurred() and then PyErr_Fetch(). But PyErr_Occurred seems to always return NULL after calling PyStackless_Schedule(). Any suggestions?</div><div>
<br></div><div>Lindell Alderman</div>